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 \
    lib/fileproxy

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
sub-repositories.

-- 
/Thomas

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to