aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2021-12-03 10:58:40 +0100
committerDavid Schulz <david.schulz@qt.io>2021-12-06 05:12:24 +0000
commit295effd735970137abdfc7f005d5a5cba0a7abc8 (patch)
tree31d17b31738885a1ebf9b0babd3b89dca90934a6 /src
parentd8ccadb3c40487f493a5d34ca78bd81d06a6a98d (diff)
ProjectExplorer: raise the timeout for the msvc detection
Calling the msvc vars bat can take a considerable amount of time on a loaded system. Since we cache the environment modifications from previous runs it's okay to raise the bar here. Change-Id: Icda91d6682396e6f73946ccd379b88631590536c Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/projectexplorer/msvctoolchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/msvctoolchain.cpp b/src/plugins/projectexplorer/msvctoolchain.cpp
index 56b7431073..ec0bfdcfdc 100644
--- a/src/plugins/projectexplorer/msvctoolchain.cpp
+++ b/src/plugins/projectexplorer/msvctoolchain.cpp
@@ -2116,7 +2116,7 @@ Utils::optional<QString> MsvcToolChain::generateEnvironmentSettings(const Utils:
Utils::Environment runEnv = env;
runEnv.unset(QLatin1String("ORIGINALPATH"));
run.setEnvironment(runEnv);
- run.setTimeoutS(30);
+ run.setTimeoutS(60);
Utils::FilePath cmdPath = Utils::FilePath::fromUserInput(
QString::fromLocal8Bit(qgetenv("COMSPEC")));
if (cmdPath.isEmpty())