I've just managed to build rpm without the freakin' qml folder, but in order to do that I additionally needed:
- manually edit Makefile and remove qml_install and qml_uninstall - in .specs file remove /usr/share/myapp and %{_datadir}/%{name}/qml lines Don't mean to be rude or something, but it is seriously SICK to have to do such things to exclude a folder that is in a resource and thus it is no longer needed. In Qt4.8 all I needed to do was to comment out one line (DEPLOYMENTFOLDER) in .pro file, and on BB10 I just need to exclude asset in bar-descriptor.xml. Bolek W dniu 2014-04-23 21:18:04 użytkownik Andrey Kozhevnikov <coderusin...@gmail.com> napisał: > did you made "clean" and removed build folder content? > > 24.04.2014 01:16, tw_bolek пишет: > > > > Doesn't work, either :(( The qml folder is still added to rpm. > > And while building the rpm I get messages about "overriding commands for > > target 'install_desktop'", "ignoring old commands for target > > 'install_icon'", etc. > > > > > > > > > >> okay, then try this: > >> desktop.files = $${TARGET}.desktop > >> desktop.path = /usr/share/applications > >> icon.files = $${TARGET}.png > >> icon.path = /usr/share/icons/hicolor/86x86/apps > >> INSTALLS = desktop icon > > > > > > > > > > > > W dniu 2014-04-23 20:39:30 użytkownik tw_bolek <tw_bo...@op.pl> napisał: > >> 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 > >> > > > > > > _______________________________________________ > > SailfishOS.org Devel mailing list > > _______________________________________________ > SailfishOS.org Devel mailing list _______________________________________________ SailfishOS.org Devel mailing list