forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user