[SailfishDevel] Error installing .desktop file

Martin Kampas martin.kampas at jolla.com
Tue Aug 20 09:00:41 UTC 2019


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.


On úterý 20. srpna 2019 10:44:38 CEST Thomas Tanghus wrote:
> "Thomas Tanghus" <thomas at 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-unsubscribe at lists.sailfishos.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20190820/82a2d7e6/attachment.html>

More information about the Devel mailing list