From b53e5eb6d33438d0b638f0c00ff3c21e4b9194dd Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Tue, 13 Oct 2020 15:18:10 +0200 Subject: CMake: Use qt_internal_add_plugin in qt_internal_add_qml_module The implementation means to call qt_internal_add_plugin because that's the one that handles the 'QML_TARGET_PATH' option. Task-number: QTBUG-86827 Change-Id: I3289741458cb8038f576bc4b08617f42fce98710 Reviewed-by: Joerg Bornemann --- src/qml/Qt6QmlBuildInternals.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/Qt6QmlBuildInternals.cmake b/src/qml/Qt6QmlBuildInternals.cmake index 0e702feea2..c2018d71f8 100644 --- a/src/qml/Qt6QmlBuildInternals.cmake +++ b/src/qml/Qt6QmlBuildInternals.cmake @@ -81,7 +81,7 @@ function(qt_internal_add_qml_module target) # If we have no sources, but qml files, create a custom target so the # qml file will be visibile in an IDE. if (arg_SOURCES) - qt_add_plugin(${target} + qt_internal_add_plugin(${target} TYPE qml_plugin QML_TARGET_PATH -- cgit v1.2.3