Re: [SailfishDevel] adding libraries to sailfish app.

2013-12-22 Thread Sadika Sumanapala
Thank you


On Sun, Dec 22, 2013 at 9:27 PM, Mike Sheldon  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
>
___
SailfishOS.org Devel mailing list

Re: [SailfishDevel] adding libraries to sailfish app.

2013-12-22 Thread Sadika Sumanapala
thank you. is there a way to deploy compiled shared libraries with app?


On Sat, Dec 21, 2013 at 11:02 PM, Andrey Kozhevnikov  wrote:

>  static link object file to your binary
>
>
> On 21.12.2013 23:28, Sadika Sumanapala wrote:
>
> My qt application uses 3rd party library which use Cmake to build.
> How can I add it to qmake project (or required libraries) to create
> sailfish application?
> (I'm new to this)
>
>
>
>
> ___
> SailfishOS.org Devel mailing list
>
>
>
> ___
> SailfishOS.org Devel mailing list
>
___
SailfishOS.org Devel mailing list

[SailfishDevel] adding libraries to sailfish app.

2013-12-21 Thread Sadika Sumanapala
My qt application uses 3rd party library which use Cmake to build.
How can I add it to qmake project (or required libraries) to create
sailfish application?
(I'm new to this)
___
SailfishOS.org Devel mailing list