forked from qt-creator/qt-creator
ProjectExplorer: Quote path in msvc_make.bat
Make the wrapper script more robust against spaces in the path of the build tool. The Qt Sdk installer installs Qt Creator Preview into paths with spaces, together with a copy of jom.exe. The call of that jom.exe needs to be in quotes. Task-number: QTCREATORBUG-23174 Change-Id: Iffd958362cbce222f05a8505d9f8417d549afa11 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1178,7 +1178,7 @@ static QString wrappedMakeCommand(const QString &command)
|
||||
return command;
|
||||
QTextStream stream(&wrapper);
|
||||
stream << "chcp 65001\n";
|
||||
stream << command << " %*";
|
||||
stream << "\"" << QDir::toNativeSeparators(command) << "\" %*";
|
||||
|
||||
return wrapperPath;
|
||||
}
|
||||
|
Reference in New Issue
Block a user