OSDN Git Service

Fix usage of mad command, seems we depend on the system env.
authorkh1 <qt-info@nokia.com>
Mon, 29 Nov 2010 17:35:07 +0000 (18:35 +0100)
committerkh1 <qt-info@nokia.com>
Mon, 29 Nov 2010 17:35:27 +0000 (18:35 +0100)
src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp

index b6fbf0e..f88ba08 100644 (file)
@@ -114,7 +114,7 @@ void MaemoGlobal::callMaddeShellScript(QProcess &proc, const QString &maddeRoot,
     QString actualCommand = command;
     QStringList actualArgs = args;
 #ifdef Q_OS_WIN
-    Utils::Environment env(proc.environment());
+    Utils::Environment env(proc.systemEnvironment());
     env.prependOrSetPath(maddeRoot + QLatin1String("/bin"));
     env.prependOrSet(QLatin1String("HOME"),
         QDesktopServices::storageLocation(QDesktopServices::HomeLocation));