aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmakeprojectmanager
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-04-28 07:49:09 +0200
committerhjk <hjk@qt.io>2020-04-30 09:34:32 +0000
commitdb4f6a0e94138d9422bc3668b0e19d14414190e7 (patch)
treeb009f013286018e812495b89f645d7ea5c6f1370 /src/plugins/qmakeprojectmanager
parentaef30c11b7d714651b2036b119a5d81a58b399f3 (diff)
QmakeProjectManager: Suppress parsing for inactive build configurations
Change-Id: I25bf1cd4e1382ecf55df853f4f1ee3c16657a2f4 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/qmakeprojectmanager')
-rw-r--r--src/plugins/qmakeprojectmanager/qmakeproject.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/qmakeprojectmanager/qmakeproject.cpp b/src/plugins/qmakeprojectmanager/qmakeproject.cpp
index 143507005c..90eeeb8f9b 100644
--- a/src/plugins/qmakeprojectmanager/qmakeproject.cpp
+++ b/src/plugins/qmakeprojectmanager/qmakeproject.cpp
@@ -483,6 +483,12 @@ void QmakeBuildSystem::scheduleUpdateAll(QmakeProFile::AsyncUpdateDelay delay)
return;
}
+ if (!buildConfiguration()->isActive()) {
+ TRACE("firstParseNeeded: " << int(m_firstParseNeeded)
+ << ", suppressed: buildconfig not active");
+ return;
+ }
+
TRACE("firstParseNeeded: " << int(m_firstParseNeeded) << ", delay: " << delay);
rootProFile()->setParseInProgressRecursive(true);