forked from qt-creator/qt-creator
Set LD_LIBRARY_PATH in unix run environments.
Similarly to how PATH is set up for Windows. The background is that without it plugin loading can pull in incompatible Qt libraries if the binary is compiled with RUNPATH instead of RPATH. Reviewed-by: Daniel Teske
This commit is contained in:
@@ -1722,6 +1722,7 @@ void QtVersion::addToEnvironment(Utils::Environment &env) const
|
||||
// Generic:
|
||||
env.set("QTDIR", QDir::toNativeSeparators(versionInfo().value("QT_INSTALL_DATA")));
|
||||
env.prependOrSetPath(versionInfo().value("QT_INSTALL_BINS"));
|
||||
env.prependOrSetLibrarySearchPath(versionInfo().value("QT_INSTALL_LIBS"));
|
||||
|
||||
// Symbian specific:
|
||||
if (supportsTargetId(Constants::S60_DEVICE_TARGET_ID)
|
||||
|
||||
Reference in New Issue
Block a user