[SailfishDevel] Path to main qml in resource file - not found whatever I try
tw_bolek
tw_bolek at op.pl
Wed Apr 23 18:56:53 UTC 2014
> show your full pro file
Hey Andrey, here you are. Nothing special in there.....
# The name of your app.
# NOTICE: name defined in TARGET has a corresponding QML filename.
# If name defined in TARGET is changed, following needs to be
# done to match new name:
# - corresponding QML filename must be changed
# - desktop icon filename must be changed
# - desktop filename must be changed
# - icon definition filename in desktop file must be changed
TARGET = myapp
CONFIG += sailfishapp
INSTALLS -= qml
SOURCES += src/myapp.cpp
OTHER_FILES += rpm/myapp.yaml \
myapp.desktop
RESOURCES += \
myapp.qrc
> Doesn't work :(
>
> INSTALLS -= qml doesn't seem to do anything, and renaming the qml folder results in an RPM build error - files not found
>
> Anything else, please?
>
> Gosh, it was so easy and obvious in Qt4.8....
>
> Thank you,
> Bolek
>
>
> > you can try to add INSTALLS -= qml somewhere after
> > sailfishapp config line, or just rename folder name
>
>
>
> >> Now, *PLEASE*, one more help request:
> >>
> >> what is the best way to EXCLUDE the qml folder from
> >> being added to the rpm file?
>
> _______________________________________________
> SailfishOS.org Devel mailing list
>
More information about the Devel
mailing list