[SailfishDevel] Error installing .desktop file

Thomas Tanghus thomas at tanghus.net
Tue Aug 20 12:24:59 UTC 2019

On 8/20/19 11:00 AM, Martin Kampas wrote:
> 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.

This mostly works:

TEMPLATE = subdirs
SUBDIRS += app.pro \

Now there's an error about the icons, but it looks like I have switched
some statements ;) Should be easily solvable.

This actually makes it a lot easier to set up sub-projects - and


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20190820/9055b2bf/attachment.sig>

More information about the Devel mailing list