QmakeProjectManager: Suppress parsing for inactive build configurations

Change-Id: I25bf1cd4e1382ecf55df853f4f1ee3c16657a2f4
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2020-04-28 07:49:09 +02:00
parent aef30c11b7
commit db4f6a0e94

View File

@@ -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);