forked from qt-creator/qt-creator
Qmake: Fix detection of successful parsing run
Do not report success of a qmake parsing run based on every .pro-file having reported success. Take the top-level .pro-file's success value instead. This fixes e.g. Creator, which has some .pro-files that error out in some conditions. Task-number: QTCREATORBUG-18992 Change-Id: I888141e723da84fb780ccd84c86acc25d03f5f28 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -1489,7 +1489,7 @@ void QmakeProFile::asyncEvaluate(QFutureInterface<QmakeEvalResult *> &fi, QmakeE
|
||||
void QmakeProFile::applyAsyncEvaluate()
|
||||
{
|
||||
applyEvaluate(m_parseFutureWatcher.result());
|
||||
m_project->decrementPendingEvaluateFutures(validParse());
|
||||
m_project->decrementPendingEvaluateFutures();
|
||||
}
|
||||
|
||||
bool sortByParserNodes(Node *a, Node *b)
|
||||
|
||||
Reference in New Issue
Block a user