Revert "Fix setting of LD_LIBRARY_PATH in the run environment."

This reverts commit 4ba7f2b7f3.
This commit is contained in:
dt_
2011-04-29 13:25:25 +02:00
parent 4ba7f2b7f3
commit 0811b24628
4 changed files with 21 additions and 16 deletions

View File

@@ -1722,14 +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"));
// set LD_LIBRARY_PATH for generic linux
foreach (const ProjectExplorer::Abi &abi, qtAbis()) {
if (abi.osFlavor() == ProjectExplorer::Abi::GenericLinuxFlavor) {
env.prependOrSet(QLatin1String("LD_LIBRARY_PATH"), versionInfo().value("QT_INSTALL_LIBS"), QLatin1String(":"));
break;
}
}
env.prependOrSetLibrarySearchPath(versionInfo().value("QT_INSTALL_LIBS"));
// Symbian specific:
if (supportsTargetId(Constants::S60_DEVICE_TARGET_ID)