[Qt5-feedback] Fwd: Re: Qt major versions

Konstantin Tokarev annulen at yandex.ru
Wed Jun 8 09:28:35 CEST 2011



08.06.2011, 10:50, "Till Oliver Knoll" <till.oliver.knoll at gmail.com>:
> I can't imagine that LD_LIBRARY_PATH would even take precedence even over system default paths such as /usr/lib!

Why are you surprised?

For example, your application is bundled with it's own copy of Qt libs, and there's system-wide installation of Qt libs in /usr/lib (or /usr/lib64). You set LD_LIBRARY_PATH in start script and - voilà - your application loads proper (bundled) libraries instead of system ones.


-- 
Regards,
Konstantin


More information about the Qt5-feedback mailing list