forked from qt-creator/qt-creator
Prepend the path instead of append, caused some trouble for fkleint.
This commit is contained in:
@@ -369,8 +369,8 @@ void MaemoQemuManager::startRuntime()
|
|||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
const QLatin1Char colon(';');
|
const QLatin1Char colon(';');
|
||||||
const QLatin1String key("PATH");
|
const QLatin1String key("PATH");
|
||||||
env.insert(key, env.value(key) % colon % root % QLatin1String("bin"));
|
env.insert(key, root % QLatin1String("bin") % colon % env.value(key));
|
||||||
env.insert(key, env.value(key) % colon % root % QLatin1String("madlib"));
|
env.insert(key, root % QLatin1String("madlib") % colon % env.value(key));
|
||||||
#elif defined(Q_OS_UNIX)
|
#elif defined(Q_OS_UNIX)
|
||||||
const QLatin1String key("LD_LIBRARY_PATH");
|
const QLatin1String key("LD_LIBRARY_PATH");
|
||||||
env.insert(key, env.value(key) % QLatin1Char(':') % rt.m_libPath);
|
env.insert(key, env.value(key) % QLatin1Char(':') % rt.m_libPath);
|
||||||
|
|||||||
Reference in New Issue
Block a user