aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp
diff options
context:
space:
mode:
authorKnud Dollereder <[email protected]>2024-03-22 11:38:14 +0100
committerKnud Dollereder <[email protected]>2024-03-28 13:52:32 +0000
commit37216207996d44f54c86c02454163ca68a37bdd8 (patch)
tree97723b658877e6282c38ce53b6d173615903e5b4 /src/plugins/qmlprojectmanager/qmlprojectplugin.cpp
parentbeb9fc2fde620f43e1f4df4493f239f5301b5e45 (diff)
QmlProjectManager: New project structure support for CMakeGenerator
- Add writer interface in order to support the current and the new project structure in parallel. Using the new one if qdsVersion is >= 4.5 - Separated templates for the new generator from the old one - Add file name validity check - Generate files in the folder src and cmake if they do not exist yet. Only re-generate files in src/autogen. - Add action to enable or disable the cmake-generator - Add function that checks if a resource file is within the project folder but not part of the project Change-Id: I3d75dbee1043ed28e6126cf0b2c83994cb70ed45 Reviewed-by: <[email protected]> Reviewed-by: Qt CI Patch Build Bot <[email protected]> Reviewed-by: Thomas Hartmann <[email protected]>
Diffstat (limited to 'src/plugins/qmlprojectmanager/qmlprojectplugin.cpp')
-rw-r--r--src/plugins/qmlprojectmanager/qmlprojectplugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp b/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp
index 62abce5fe96..14ac6060b38 100644
--- a/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp
+++ b/src/plugins/qmlprojectmanager/qmlprojectplugin.cpp
@@ -386,6 +386,8 @@ void QmlProjectPlugin::initialize()
mainUifileAction->setEnabled(buildSystem->mainUiFilePath()
!= fileNode->filePath());
});
+
+ GenerateCmake::CMakeGenerator::createMenuAction(this);
}
GenerateCmake::generateMenuEntry(this);