QmlDesigner: Add setting for Qt 6 projects

Adding
'qt6Project: true'
to the qmlproject file marks the project as Qt 6 'only'.

Task-number: QDS-4734
Change-Id: Ib9d969fd11d409e280734f9bedf759b40470fc61
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
Thomas Hartmann
2021-07-27 14:18:39 +02:00
parent 3df3046e17
commit 58602ec21c
6 changed files with 24 additions and 0 deletions

View File

@@ -60,6 +60,11 @@ void QmlProjectItem::setQtForMCUs(bool b)
m_qtForMCUs = b;
}
void QmlProjectItem::setQt6Project(bool qt6Project)
{
m_qt6Project = qt6Project;
}
void QmlProjectItem::setImportPaths(const QStringList &importPaths)
{
if (m_importPaths != importPaths)