Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Remove some forgotten unrelated changes
Dmitry Kazakov452dd4ecba29
diff --git a/CMakeLists.txt b/CMakeLists.txtindex e183ededfa..fdb43cdb67 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -426,8 +426,6 @@ include(ECMGenerateHeaders)include(GenerateExportHeader)include(ECMMarkAsTest)include(ECMInstallIcons)-include(ECMFindQmlModule)-include(ECMQmlModule)include(CMakePackageConfigHelpers)include(WriteBasicConfigVersionFile)diff --git a/plugins/tools/svgtexttool/Plugin.cpp b/plugins/tools/svgtexttool/Plugin.cppindex d67a7d7704..09c7ed8ddb 100644--- a/plugins/tools/svgtexttool/Plugin.cpp+++ b/plugins/tools/svgtexttool/Plugin.cpp@@ -21,7 +21,6 @@K_PLUGIN_FACTORY_WITH_JSON(PluginFactory, "krita_tool_svgtext.json", registerPlugin<Plugin>();)KIS_DECLARE_STATIC_INITIALIZER {- //qmlRegisterType<SvgTextLabel>("org.krita.tools.text", 1, 0, "SvgTextLabel");qmlRegisterType<GlyphPaletteProxyModel>("org.krita.tools.text", 1, 0, "GlyphPaletteProxyModel");}Plugin::Plugin(QObject *parent, const QVariantList &)diff --git a/qmlmodules/components/CMakeLists.txt b/qmlmodules/components/CMakeLists.txtindex e585fcec25..f883c6d0a8 100644--- a/qmlmodules/components/CMakeLists.txt+++ b/qmlmodules/components/CMakeLists.txt@@ -1,3 +1,5 @@+include(ECMQmlModule)+if (QT_MAJOR_VERSION STREQUAL "6")ecm_add_qml_module(kritaqmlcomponents