Hi, The .desktop file must exist in the same directory where the .pro file that uses CONFIG+=sailfishapp exists.
Note that the subdirs template does not require you actually put stuff to subdirectories - you can specify a .pro file that exists in the same directory instead of a subdirectory https:// doc.qt.io/qt-5/qmake-variable-reference.html#subdirs. This way you should be able to keep the standard layout with .desktop and other files in the root directory and yet use the subdirs template to split the build. BR, Martin On úterý 20. srpna 2019 10:44:38 CEST Thomas Tanghus wrote: > "Thomas Tanghus" <tho...@tanghus.net> – 20. august 2019 09:24 > > > It's in the underlying 'src' directory: > > Maybe this isn't the best way to organize it? It has worked for me in > > another app, but I thing there has been a new SDK release since that. > > This is the current state of the app (bear with me, it's in a deconstructive > state. First app I wrote so it's much of a rewrite.) > > https://github.com/tanghus/currency-converter-qml > > This is the app with a very similar build setup, and which actually builds > and deploys ok with the newest SDK. > > https://github.com/tanghus/kitchen-timer-qml > > -- > /Thomas > > A: Because it breaks the logical sequence of discussion > Q: Why is top posting bad? > > _______________________________________________ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org