ProjectExplorer: Hide build page for projects that do not build

Change-Id: I56feaab67690b5ece7379a9c1f676392230de107
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Tobias Hunger
2018-04-19 13:30:15 +02:00
parent 460fdc02e0
commit 2a34f2177c
6 changed files with 18 additions and 10 deletions

View File

@@ -247,6 +247,11 @@ void QmlProject::refreshProjectFile()
refresh(QmlProject::ProjectFile | Files);
}
bool QmlProject::needsBuildConfigurations() const
{
return false;
}
QStringList QmlProject::makeAbsolute(const Utils::FileName &path, const QStringList &relativePaths)
{
if (path.isEmpty())
@@ -349,13 +354,6 @@ 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)