[SailfishDevel] adding libraries to sailfish app.

Sadika Sumanapala sadikahs at gmail.com
Mon Dec 23 02:33:53 UTC 2013


Thank you


On Sun, Dec 22, 2013 at 9:27 PM, Mike Sheldon <mike at mikeasoft.com> wrote:

> On Sun, 2013-12-22 at 19:11 +0530, Sadika Sumanapala wrote:
> > thank you. is there a way to deploy compiled shared libraries with
> > app?
>
> Just include them in your rpm and set the -rpath value for your binary
> at compilation time (alternatively you could be setting LD_LIBRARY_PATH
> at runtime from your .desktop's Exec line). You can see an example of
> this in the CuteSpotify Sailfish port which includes libspotify (of
> particular interest will be src/src.pro):
>
>  https://github.com/Elleo/cutespotify/tree/sailfish
>
> It's not a perfect example as it doesn't work with the new out of tree
> builds that QtCreator does (I tend to just build from the command line,
> so haven't got around to updating it yet), but it should give a rough
> idea of what to do.
>
> Cheers,
>  Mike.
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20131223/82a4a3af/attachment.html>


More information about the Devel mailing list