aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp
diff options
context:
space:
mode:
authorTim Blechmann <tim.blechmann@qt.io>2025-09-19 09:08:40 +0800
committerTim Blechmann <tim.blechmann@qt.io>2025-09-23 14:37:39 +0800
commitd66cfa93eefa185aa15d42e9dc38cbcdbd0578cb (patch)
tree05189ee88d3fbf626fd10c277f3dfdf0ab7cf179 /tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp
parent71f7260b19dc4e31f1563c877d03077be31234e0 (diff)
QtQml: Fix initialization of non-optional static plugins
Don't let the initialization of a non-optional, supposedly dynamic, plugin pass if there actually is no QPluginLoader for it. The absence of the QPluginLoader in this case tells us that the plugin is in fact static and we need to check the static plugin map. Optional static plugins are not an issue here since there is no code path to create instances of those. They need to be linked into the application and thereby have their module registration function hooked up in order to be reachable at all. Pick-to: 6.10 Task-number: QTBUG-140220 Change-Id: I82e44fba2f2880ada16a5ea60e2e33f1900b208e Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp')
0 files changed, 0 insertions, 0 deletions