diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-10-13 15:18:10 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-10-13 16:54:41 +0000 |
commit | b53e5eb6d33438d0b638f0c00ff3c21e4b9194dd (patch) | |
tree | 3e6edde17ecefc6d8c931a6911c190b2247945a2 | |
parent | d66d0540dc323e6a536b952acedcfda70cd90c0c (diff) |
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 <joerg.bornemann@qt.io>
-rw-r--r-- | src/qml/Qt6QmlBuildInternals.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
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 |