Reply
Thread Tools
Posts: 642 | Thanked: 486 times | Joined on Aug 2008
#1
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's Avatar
Posts: 956 | Thanked: 2,628 times | Joined on Nov 2011
#2
I think you would get your question answered more fast on freenode IRC #harmattan
 
Posts: 642 | Thanked: 486 times | Joined on Aug 2008
#3
I solved my problem you need to add -Wl,-rpath=/path/to/libs and then REBUILD your project
 
Posts: 96 | Thanked: 105 times | Joined on Aug 2006 @ Finland
#4
Could you give the changes needed in the .pro file ?
__________________
--
2x770, N810 and 2xN900, N950, 2xN9, BBZ10
Devel - twitter - blog
 

The Following User Says Thank You to onion For This Useful Post:
Posts: 1,067 | Thanked: 2,383 times | Joined on Jan 2012 @ Finland
#5
Originally Posted by onion View Post
Could you give the changes needed in the .pro file ?
http://www.developer.nokia.com/Commu...y_on_Harmattan
__________________
IRC: jonni@freenode
Sailfish: ¤ Qt5 SailfishTouchExample ¤ Qt5 MultiPointTouchArea Example ¤ ipaddress ¤ stoken ¤ Sailbox (Dropbox client) ¤
Harmattan: ¤ Presence VNC for Harmattan ¤ Live-F1 ¤ BTinput-terminal ¤ BabyLock ¤ BabyLock Trial ¤ QML TextTV ¤
Disclaimer: all my posts in this forum are personal trolling and I never post in any official capacity on behalf of any company.
 

The Following User Says Thank You to rainisto For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 04:37.