forked from qt-creator/qt-creator
Fix usage of mad command, seems we depend on the system env.
This commit is contained in:
@@ -114,7 +114,7 @@ void MaemoGlobal::callMaddeShellScript(QProcess &proc, const QString &maddeRoot,
|
|||||||
QString actualCommand = command;
|
QString actualCommand = command;
|
||||||
QStringList actualArgs = args;
|
QStringList actualArgs = args;
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
Utils::Environment env(proc.environment());
|
Utils::Environment env(proc.systemEnvironment());
|
||||||
env.prependOrSetPath(maddeRoot + QLatin1String("/bin"));
|
env.prependOrSetPath(maddeRoot + QLatin1String("/bin"));
|
||||||
env.prependOrSet(QLatin1String("HOME"),
|
env.prependOrSet(QLatin1String("HOME"),
|
||||||
QDesktopServices::storageLocation(QDesktopServices::HomeLocation));
|
QDesktopServices::storageLocation(QDesktopServices::HomeLocation));
|
||||||
|
|||||||
Reference in New Issue
Block a user