summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/qml/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qml/CMakeLists.txt b/src/qml/CMakeLists.txt
index 61cd02e313..bf60fb8df0 100644
--- a/src/qml/CMakeLists.txt
+++ b/src/qml/CMakeLists.txt
@@ -467,6 +467,12 @@ qt_internal_add_resource(Qml "qmlMetaQmldir"
if(QT_FEATURE_qml_worker_script)
_qt_internal_add_qml_static_plugin_dependency(qmlplugin workerscriptplugin)
endif()
+# Same for the QmlMeta qml plugin, otherwise you get
+# module "QtQuick" version 6.6 cannot be imported because:
+# module "QtQml" plugin "qmlmetaplugin" not found
+# import QtQuick
+# ^
+_qt_internal_add_qml_static_plugin_dependency(qmlplugin QmlMeta)
# special case begin remove the block, handled manually
# QLALR Grammars: