forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user