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++
Fix build for Qt6: that generates the plugin on its own
Halla Rempt21c372118c0f
diff --git a/qmlmodules/libqml/CMakeLists.txt b/qmlmodules/libqml/CMakeLists.txtindex 3cc0a87cd5..eba71f4d77 100644--- a/qmlmodules/libqml/CMakeLists.txt+++ b/qmlmodules/libqml/CMakeLists.txt@@ -7,13 +7,18 @@ if (QT_MAJOR_VERSION STREQUAL "6")GENERATE_PLUGIN_SOURCE)+target_sources(KritaQmlPlugin+ PRIVATE+ SvgTextLabel.cpp+ SvgTextLabel.h+)+else ()ecm_add_qml_module(KritaQmlPluginURI "org.krita.qml"VERSION 1.0CLASSNAME KritaQmlPlugin)-endif ()target_sources(KritaQmlPluginPRIVATE@@ -23,6 +28,8 @@ target_sources(KritaQmlPluginSvgTextLabel.h)+endif ()+ecm_target_qml_sources(KritaQmlPlugin SOURCESqml/DoubleSpinBox.qml)