TargetSetupPage: Work for projects without BuildConfiguration

Change-Id: Ie145bc3c87f01326a25e75f5c80a4d05da58bf6b
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Tobias Hunger
2018-03-08 15:36:55 +01:00
parent c8f1da095d
commit 49c910c7ab
4 changed files with 61 additions and 48 deletions

View File

@@ -842,6 +842,9 @@ void Project::setup(QList<const BuildInfo *> infoList)
toRegister << t;
}
if (!info->factory())
continue;
BuildConfiguration *bc = info->factory()->create(t, info);
if (!bc)
continue;