From 0d79f0d5d9ae3fc618afdd2c8c9ad74bb7210243 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Thu, 10 Nov 2016 11:18:17 +0100 Subject: [PATCH] Qmake: Make sure to mark new ProFileNodes as "parse in progress" ProFileNodes start out as "no parse in progress" and need to be told that there is a "parse in progress" when created as part of the project parsing. Otherwise they will not notify their associated run configuration that they are done parsing, which in turn keeps the run buttons in the UI inactive. Change-Id: Ic37a9f1ccb6beecbf37f4fc54747122572e52c90 Reviewed-by: Eike Ziller --- src/plugins/qmakeprojectmanager/qmakenodes.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/qmakeprojectmanager/qmakenodes.cpp b/src/plugins/qmakeprojectmanager/qmakenodes.cpp index 8c22a0139ec..e25359110ef 100644 --- a/src/plugins/qmakeprojectmanager/qmakenodes.cpp +++ b/src/plugins/qmakeprojectmanager/qmakenodes.cpp @@ -2157,6 +2157,7 @@ void QmakeProFileNode::applyEvaluate(EvalResult *evalResult) qmakeProFileNode->setIncludedInExactParse( result->exactSubdirs.contains(qmakeProFileNode->filePath()) && pn->includedInExactParse()); + qmakeProFileNode->setParseInProgress(true); qmakeProFileNode->asyncUpdate(); toAdd << qmakeProFileNode; }