CMake: Parse project on initial load

When opening a project for the first time, the project has already been
added to the session when the BuildSystem object is created, whereas the
code expected a different order.

Fixes: QTCREATORBUG-24318
Change-Id: I8ccfeab7da4e566670f61bfe677a293033bdfe44
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2020-08-11 16:36:24 +02:00
parent 0615d0ec06
commit a7305a60e0
2 changed files with 9 additions and 11 deletions

View File

@@ -134,7 +134,7 @@ private:
void handleParsingSucceeded();
void handleParsingFailed(const QString &msg);
void wireUpConnections(const ProjectExplorer::Project *p);
void wireUpConnections();
Utils::FilePath workDirectory(const BuildDirParameters &parameters);
void stopParsingAndClearState();