aboutsummaryrefslogtreecommitdiffstats
path: root/src
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-30 22:24:01 +0200
commit4de2cbfb835bdf9411ef25f86927e4e174b9c900 (patch)
tree80d1ff80c667e437086b090bf2a846c068452aff /src
parent403cc617a116d73e54bb982314054fb72bbb974a (diff)
CMake: Add TODO to move plugin init library creation code
Change-Id: I80ce41ba58295afdba9b0c984251355d846e98b1 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Craig Scott <craig.scott@qt.io> (cherry picked from commit a92c4e35ae97128e5fa5712d4a8f999c0de7816b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-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")