forked from qt-creator/qt-creator
qmake: Update the target info before updating code models
At least the QML code model would like to know what application targets are available, so that it can figure out where to look for app.qmltypes files. Change-Id: I638936a90a91193bb59bd9b6827786e25f4eaad3 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -477,8 +477,8 @@ void QmakeProject::decrementPendingEvaluateFutures()
|
||||
// After being done, we need to call:
|
||||
|
||||
m_asyncUpdateState = Base;
|
||||
updateCodeModels();
|
||||
updateBuildSystemData();
|
||||
updateCodeModels();
|
||||
if (activeTarget())
|
||||
activeTarget()->updateDefaultDeployConfigurations();
|
||||
m_guard.markAsSuccess(); // Qmake always returns (some) data, even when it failed:-)
|
||||
|
||||
Reference in New Issue
Block a user