maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   qt/qml apps query /usr/bin (https://talk.maemo.org/showthread.php?t=99307)

moodroid 2017-04-22 10:41

qt/qml apps query /usr/bin
 
Hi,

By copying the various bits from another app, I'm able to make my own app:
- /usr/share/myapp directory with the various qml files in a qml directory and pages and cover directories
- /usr/share/applications/myapp.desktop

But I also seem to need a /usr/bin/myapp file which is currently a copy of the /usr/bin/originalapp file?

Is this because the app I've copied has some c/c++ stuff in it, or do all apps need something in /usr/bin? And if so, is there a generic one that can be used? If not, how would I go about creating a basic one for myself?

Thanks

coderus 2017-04-22 11:24

Re: qt/qml apps query /usr/bin
 
you can use Exec=sailfish-qml myapp inside your .desktop file without having binary in /usr/bin

moodroid 2017-04-24 08:44

Re: qt/qml apps query /usr/bin
 
Thanks, coderus. That sorted it.
The only extra thing I had to do was:
pkcon install libsailfishapp-launcher


All times are GMT. The time now is 05:52.

vBulletin® Version 3.8.8