28.05.2011, 03:59, [email protected]:
> On 27/05/2011, at 5:33 PM, BRM wrote:
>
> There is also the various linker options to add the 'lib' directory in your
> program path to the binary's search.
> We install Qt to /usr/local/TrollTech/Qt-<version> on our systems and link
> specifically against that path. No editing LD_LIBRARY_PATH on Linux.
>
> That's okay if you don't want your package to be relocatable. If you want a 
> relocatable package, using RPATH support (which I think is what you are 
> talking about here) breaks. But if you don't care about relocatable packages 
> and you know where your Qt libs will be installed (ie a very controlled set 
> of deployment machines), then RPATH does save you from having to modify 
> LD_LIBRARY_PATH. There's still the issue of QT_PLUGIN_PATH, but if you are 
> not providing your own designer plugins, etc., then that shouldn't affect 
> you. The situation on Mac is effectively the same as on Linux too.

It's always possible to use launcher script setting proper LD_LIBRARY_PATH 
exclusively for your application

-- 
Regards,
Konstantin
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to