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 <eike.ziller@qt.io>
This commit is contained in:
Tobias Hunger
2016-11-10 11:18:17 +01:00
parent 77bd581f49
commit 0d79f0d5d9

View File

@@ -2157,6 +2157,7 @@ void QmakeProFileNode::applyEvaluate(EvalResult *evalResult)
qmakeProFileNode->setIncludedInExactParse( qmakeProFileNode->setIncludedInExactParse(
result->exactSubdirs.contains(qmakeProFileNode->filePath()) result->exactSubdirs.contains(qmakeProFileNode->filePath())
&& pn->includedInExactParse()); && pn->includedInExactParse());
qmakeProFileNode->setParseInProgress(true);
qmakeProFileNode->asyncUpdate(); qmakeProFileNode->asyncUpdate();
toAdd << qmakeProFileNode; toAdd << qmakeProFileNode;
} }