Commit d0c5f55d authored by kh1's avatar kh1
Browse files

Prepend the path instead of append, caused some trouble for fkleint.

parent 385a3d04
...@@ -369,8 +369,8 @@ void MaemoQemuManager::startRuntime() ...@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment