aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/Qt6QmlMacros.cmake
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-09-28 11:29:08 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2021-09-29 16:14:44 +0200
commita92c4e35ae97128e5fa5712d4a8f999c0de7816b (patch)
tree1d7aad0f3b3d2d59af0fa86430b359afc86fbcff /src/qml/Qt6QmlMacros.cmake
parentdb36933024a8abd9e0254a50cba0a598101bab59 (diff)
CMake: Add TODO to move plugin init library creation code
Pick-to: 6.2 Change-Id: I80ce41ba58295afdba9b0c984251355d846e98b1 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Craig Scott <craig.scott@qt.io>
Diffstat (limited to 'src/qml/Qt6QmlMacros.cmake')
-rw-r--r--src/qml/Qt6QmlMacros.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/Qt6QmlMacros.cmake b/src/qml/Qt6QmlMacros.cmake
index 0c76d29abd..02622c63b5 100644
--- a/src/qml/Qt6QmlMacros.cmake
+++ b/src/qml/Qt6QmlMacros.cmake
@@ -586,6 +586,9 @@ function(qt6_add_qml_module target)
# Build an init object library for static plugins and propagate it along with the plugin
# target.
+ # TODO: Figure out if we can move this code block into qt_add_qml_plugin. Need to consider
+ # various corner cases.
+ # QTBUG-96937
if(TARGET "${arg_PLUGIN_TARGET}")
get_target_property(plugin_lib_type ${arg_PLUGIN_TARGET} TYPE)
if(plugin_lib_type STREQUAL "STATIC_LIBRARY")