QmlProject: Avoid error messages about missing build configurations

Override the target setup, so that we don't try to initialize build
configurations.

Change-Id: I8f8022c705ea54dd66df828fdb4837d4a41bc96e
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Ulf Hermann
2017-12-06 11:02:34 +01:00
parent f9177d4b6c
commit 544ac85191
2 changed files with 8 additions and 0 deletions

View File

@@ -302,6 +302,13 @@ Project::RestoreResult QmlProject::fromMap(const QVariantMap &map, QString *erro
return RestoreResult::Ok;
}
bool QmlProject::setupTarget(Target *target)
{
target->updateDefaultDeployConfigurations();
target->updateDefaultRunConfigurations();
return true;
}
void QmlProject::generateProjectTree()
{
if (!m_projectItem)