[Qt-interest] Adding libraries to .pro file

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Sat Oct 23 08:27:48 CEST 2010


> 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"

Thanks for this info and the bit about $ORIGIN. It was quite an
eye-opener! It'll surely stop me from propagating more bad advice! :)

Thanks,
-mandeep


>
> And read the ld man page.
>
> A+
> Paul
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



More information about the Qt-interest-old mailing list