[SailfishDevel] Missing /usr/bin/sailfish-qml on the phone

Slava Monich slava.monich at jolla.com
Thu Oct 19 21:41:40 UTC 2017


Dependencies should be pulled in automatically for the apps getting 
installed from the Jolla Store. I don't know how Warehouse works and 
what it does about missing dependencies.


... but you can install an rpm by somehow transferring it to the phone 
(e.g. by downloading it with the browser) and then tapping it in 
Settings -> Transfers. You would have to allow installing untrusted 
software first on the Settings -> Untrusted software page.


I don't think this has anything to do with "pkcon refresh".


Cheers,

-Slava



> 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): 
> <https://github.com/sailfishos/python-sample%29:>
> >
> > 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
>
>
> _______________________________________________
> 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/20171020/613bd419/attachment.html>


More information about the Devel mailing list