Re: [SailfishDevel] How can I deploy application without qml file
On Mon, Feb 17, 2014 at 2:24 PM, itviewer itvie...@jolladev.net wrote: Hi all, In my application I don't want the qml file to be deployed. I know I should use the Qt resource system. After added all qml files to the .qrc file and rebuild the application, It seems that all qml files are still build in to the rpm file. Is it a sdk's bug? How can I deploy rpm application without qml file? Hi, Not a bug but an (annoying) feature. :) You probably have CONFIG += sailfishapp in your .pro. That will automatically add the qml subfolder to install rules ( https://github.com/sailfish-sdk/libsailfishapp/blob/master/data/sailfishapp.prf#L40). A trivial solution is to rename the qml folder to something else. -- J-P Nurmi ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] How can I deploy application without qml file
you can set INSTALLS = without appending to existing contents and manually point to desktop (if present) and binary files On 17.02.2014 19:51, Thomas Perl wrote: On 2014-02-17 14:43, J-P Nurmi wrote: Not a bug but an (annoying) feature. :) You probably have CONFIG += sailfishapp in your .pro. That will automatically add the qml subfolder to install rules (https://github.com/sailfish-sdk/libsailfishapp/blob/master/data/sailfishapp.prf#L40). A trivial solution is to rename the qml folder to something else. Yes, an alternative solution is to rm -rf the (installed) QML folder in the .spec file from the installroot after the make install step. HTH :) Thomas ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list