From ad82815e5a3578aedbc1ded255e6d6b5532f6ded Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Wed, 25 Nov 2020 18:18:35 +0100 Subject: CMake: Update project to use latest CMake API Also make Quick an optional package. Also update qtdeclarative dependency to latest integrated sha1 in qt5.git Change-Id: I851f825abc9484b5bda6cd60eca6ddb1b0d8e2b7 Reviewed-by: Qt CI Bot Reviewed-by: Joerg Bornemann --- src/effects/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/effects/CMakeLists.txt') diff --git a/src/effects/CMakeLists.txt b/src/effects/CMakeLists.txt index d81355a..cf66a9c 100644 --- a/src/effects/CMakeLists.txt +++ b/src/effects/CMakeLists.txt @@ -4,7 +4,7 @@ ## qtgraphicaleffectsplugin Plugin: ##################################################################### -add_qml_module(qtgraphicaleffectsplugin +qt_internal_add_qml_module(qtgraphicaleffectsplugin URI "QtGraphicalEffects" VERSION "1.${CMAKE_PROJECT_VERSION_MINOR}" DESIGNER_SUPPORTED @@ -47,7 +47,7 @@ set(qtgraphicaleffectsshaders_resource_files "shaders_ng/thresholdmask.frag.qsb" ) -add_qt_resource(qtgraphicaleffectsplugin "qtgraphicaleffectsshaders" +qt_internal_add_resource(qtgraphicaleffectsplugin "qtgraphicaleffectsshaders" PREFIX "/qt-project.org/imports/QtGraphicalEffects" FILES @@ -136,7 +136,7 @@ qt6_target_qml_files(qtgraphicaleffectsplugin FILES ${qml_files} ) -add_qt_docs(qtgraphicaleffectsplugin +qt_internal_add_docs(qtgraphicaleffectsplugin doc/qtgraphicaleffects.qdocconf ) -- cgit v1.2.1