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

Reply via email to