diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectimporter.cpp b/src/plugins/cmakeprojectmanager/cmakeprojectimporter.cpp index 53550adabe3..8631a9eea1a 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectimporter.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeprojectimporter.cpp @@ -225,7 +225,6 @@ static CMakeConfig configurationFromPresetProbe( env.setupEnglishOutput(); cmake.setEnvironment(env); - cmake.setTimeOutMessageBoxEnabled(false); QStringList args; args.emplace_back("-S"); @@ -402,7 +401,6 @@ static QMakeAndCMakePrefixPath qtInfoFromCMakeCache(const CMakeConfig &config, Environment cmakeEnv(env); cmakeEnv.setupEnglishOutput(); cmake.setEnvironment(cmakeEnv); - cmake.setTimeOutMessageBoxEnabled(false); QString cmakeGenerator = config.stringValueOf(QByteArray("CMAKE_GENERATOR")); QString cmakeGeneratorPlatform = config.stringValueOf(QByteArray("CMAKE_GENERATOR_PLATFORM")); diff --git a/src/plugins/cmakeprojectmanager/cmaketool.cpp b/src/plugins/cmakeprojectmanager/cmaketool.cpp index fdaf5e6bfc6..9a0d647b278 100644 --- a/src/plugins/cmakeprojectmanager/cmaketool.cpp +++ b/src/plugins/cmakeprojectmanager/cmaketool.cpp @@ -174,7 +174,6 @@ void CMakeTool::runCMake(Process &cmake, const QStringList &args, int timeoutS) Environment env = executable.deviceEnvironment(); env.setupEnglishOutput(); cmake.setEnvironment(env); - cmake.setTimeOutMessageBoxEnabled(false); cmake.setCommand({executable, args}); cmake.runBlocking(); }