Merge remote-tracking branch 'origin/qds/dev'

Change-Id: I5d593fc74785958886453dc0b452c25356a8c65f
This commit is contained in:
Tim Jenssen
2024-01-18 12:12:51 +01:00
242 changed files with 6226 additions and 870 deletions

View File

@@ -238,4 +238,17 @@ bool QmlProject::allowOnlySingleProject()
return !settings->value(key, false).toBool();
}
bool QmlProject::isMCUs()
{
if (!ProjectExplorer::ProjectManager::startupTarget())
return false;
const QmlProjectManager::QmlBuildSystem *buildSystem
= qobject_cast<QmlProjectManager::QmlBuildSystem *>(
ProjectExplorer::ProjectManager::startupTarget()->buildSystem());
QTC_ASSERT(buildSystem, return false);
return buildSystem && buildSystem->qtForMCUs();
}
} // namespace QmlProjectManager

View File

@@ -24,6 +24,8 @@ public:
ProjectExplorer::Tasks projectIssues(const ProjectExplorer::Kit *k) const final;
static bool isMCUs();
protected:
RestoreResult fromMap(const Utils::Store &map, QString *errorMessage) override;