Skip to content

armgit / krita

Public Imported from GitHub
0

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 code to generate a qmltypes file

Halla Rempt7e04ad3f8537
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 83c7ab1aff..e183ededfa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -428,9 +428,6 @@ include(ECMMarkAsTest)
include(ECMInstallIcons)
include(ECMFindQmlModule)
include(ECMQmlModule)
-if (QT_MAJOR_VERSION STREQUAL "5")
- include(ECMGenerateQmlTypes)
-endif()
include(CMakePackageConfigHelpers)
include(WriteBasicConfigVersionFile)
diff --git a/qmlmodules/libqml/CMakeLists.txt b/qmlmodules/libqml/CMakeLists.txt
index 83350bd929..1336aef325 100644
--- a/qmlmodules/libqml/CMakeLists.txt
+++ b/qmlmodules/libqml/CMakeLists.txt
@@ -44,11 +44,6 @@ target_link_libraries(KritaQmlPlugin
ecm_finalize_qml_module(KritaQmlPlugin DESTINATION ${KDE_INSTALL_QMLDIR})
-
-if (QT_MAJOR_VERSION STREQUAL "5")
- ecm_generate_qmltypes(org.krita.qml 1.0 DESTINATION ${KDE_INSTALL_QMLDIR}/org/krita/qml)
-endif ()
-
# Note: the ecm documentation prescribes this line but it is not needed...
#install(TARGETS KritaQmlPlugin ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})