[Qt-interest] Adding libraries to .pro file
paulf at free.fr
paulf at free.fr
Fri Oct 22 11:32:05 CEST 2010
>> You can also use gcc flag -Wl,-rpath instead of setting LD_LIBRARY_PATH
>I think LD_LIBRARY_PATH will still be needed when _running_ the app
>since the loader will be using it to locate the library.
Absolutely not. LD_LIBRARY_PATH is for those that don't know how to correctly link an application (or as a last resort if you really have absolutely no control over where your application and its libraries get installed).
Google "LD_LIBRARY_PATH considered harmful"
And read the ld man page.
A+
Paul
More information about the Qt-interest-old
mailing list