forked from qt-creator/qt-creator
CMake: Omit a call to setTimeOutMessageBoxEnabled(false)
The false is a default value. Change-Id: I94eb7c58ed591171de677f1dfc0d80a0c751d36d Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -225,7 +225,6 @@ static CMakeConfig configurationFromPresetProbe(
|
|||||||
|
|
||||||
env.setupEnglishOutput();
|
env.setupEnglishOutput();
|
||||||
cmake.setEnvironment(env);
|
cmake.setEnvironment(env);
|
||||||
cmake.setTimeOutMessageBoxEnabled(false);
|
|
||||||
|
|
||||||
QStringList args;
|
QStringList args;
|
||||||
args.emplace_back("-S");
|
args.emplace_back("-S");
|
||||||
@@ -402,7 +401,6 @@ static QMakeAndCMakePrefixPath qtInfoFromCMakeCache(const CMakeConfig &config,
|
|||||||
Environment cmakeEnv(env);
|
Environment cmakeEnv(env);
|
||||||
cmakeEnv.setupEnglishOutput();
|
cmakeEnv.setupEnglishOutput();
|
||||||
cmake.setEnvironment(cmakeEnv);
|
cmake.setEnvironment(cmakeEnv);
|
||||||
cmake.setTimeOutMessageBoxEnabled(false);
|
|
||||||
|
|
||||||
QString cmakeGenerator = config.stringValueOf(QByteArray("CMAKE_GENERATOR"));
|
QString cmakeGenerator = config.stringValueOf(QByteArray("CMAKE_GENERATOR"));
|
||||||
QString cmakeGeneratorPlatform = config.stringValueOf(QByteArray("CMAKE_GENERATOR_PLATFORM"));
|
QString cmakeGeneratorPlatform = config.stringValueOf(QByteArray("CMAKE_GENERATOR_PLATFORM"));
|
||||||
|
@@ -174,7 +174,6 @@ void CMakeTool::runCMake(Process &cmake, const QStringList &args, int timeoutS)
|
|||||||
Environment env = executable.deviceEnvironment();
|
Environment env = executable.deviceEnvironment();
|
||||||
env.setupEnglishOutput();
|
env.setupEnglishOutput();
|
||||||
cmake.setEnvironment(env);
|
cmake.setEnvironment(env);
|
||||||
cmake.setTimeOutMessageBoxEnabled(false);
|
|
||||||
cmake.setCommand({executable, args});
|
cmake.setCommand({executable, args});
|
||||||
cmake.runBlocking();
|
cmake.runBlocking();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user