maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Package libraries with my application? (https://talk.maemo.org/showthread.php?t=85626)

rash.m2k 2012-07-21 10:31

Package libraries with my application?
 
I have some libraries I need for my application (they are libs built by me).

I can get Qt Creator to copy them to my applications install directory in /opt, but how can I get my application to load them from /opt directory and not look in /usr/lib for them?

Morpog 2012-07-21 12:46

Re: Package libraries with my application?
 
I think you would get your question answered more fast on freenode IRC #harmattan

rash.m2k 2012-07-24 14:38

Re: Package libraries with my application?
 
I solved my problem you need to add -Wl,-rpath=/path/to/libs and then REBUILD your project

onion 2012-07-24 15:09

Re: Package libraries with my application?
 
Could you give the changes needed in the .pro file ?

rainisto 2012-07-27 21:44

Re: Package libraries with my application?
 
Quote:

Originally Posted by onion (Post 1242259)
Could you give the changes needed in the .pro file ?

http://www.developer.nokia.com/Commu...y_on_Harmattan


All times are GMT. The time now is 14:59.

vBulletin® Version 3.8.8