[SailfishDevel] Missing /usr/bin/sailfish-qml on the phone
Sylvain B.
Sthocs at hotmail.com
Thu Oct 19 08:42:03 UTC 2017
Hi Slava,
Cool this is brought up because I have a question about that.
I've installed Sailfish X, but hadn't enabled the developers mode yet, and some applications from OpenRepos didn't install because of dependencies, including this one:
Status: dep-resolution-failed Extra details: nothing provides libsailfishapp-launcher needed by ...
If I enable the developer mode, it works, but isn't there a way for "normal users" to make this work? I guess if I install an app with this dependency from the Store, it will work too, but isn't there an other way to "pkcon refresh"? Could Warehouse do it itself?
Stupid question maybe: why aren't the repositories up-to-date by default?
Thanks!
________________________________
De : Devel <devel-bounces at lists.sailfishos.org> de la part de Slava Monich <slava.monich at jolla.com>
Envoyé : mercredi 18 octobre 2017 08:53
À : devel at lists.sailfishos.org
Objet : Re: [SailfishDevel] Missing /usr/bin/sailfish-qml on the phone
Hi Harri,
You need to install libsailfishapp-launcher package on your phone. Add
"Requires: libsailfishapp-launcher" to your .spec file so that this
package gets installed automatically together with your app.
Here is the source for the launcher, for your reference:
https://github.com/sailfishos/libsailfishapp
Cheers,
-Slava
> Hello,
>
> I'm new to Sailfish, so please bear with me if I'm asking something obvious. I got my Sailfish X last week, and now I'm studying the SDK.
>
> QML and QML+C++ examples work fine, both in the emulator and on the Xperia.
>
> But I have a problem with the python example that is part of the tutorial in the SDK docs (i.e. this one: https://github.com/sailfishos/python-sample):
>
> It works fine in the emulator, but on the phone it throws the following error:
>
> bash: /usr/bin/sailfish-qml: No such file or directory
> Application finished with exit code 127.
>
> Is the example outdated? Or am I missing some package on the phone?
>
> Harri
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
_______________________________________________
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/20171019/b17653fa/attachment.html>
More information about the Devel
mailing list