aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc/src/cmake/qt_add_qml_module.qdoc
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2022-07-19 16:02:23 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2022-07-21 17:32:58 +0200
commit610f10b74b186559355725acc132225eba7b97a8 (patch)
tree63c83d0883a4b95576ba6892a733b4b358720b3b /src/qml/doc/src/cmake/qt_add_qml_module.qdoc
parent2c31d25a44b1221c151681e1bb68ef78618e0166 (diff)
Mention Q_IMPORT_QML_PLUGIN in qt_add_qml_module docs
To increase the chance of finding it. Pick-to: 6.2 6.3 6.4 Change-Id: Id71267e887d3799d8dc50858942d1c37557a8b82 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/doc/src/cmake/qt_add_qml_module.qdoc')
-rw-r--r--src/qml/doc/src/cmake/qt_add_qml_module.qdoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/doc/src/cmake/qt_add_qml_module.qdoc b/src/qml/doc/src/cmake/qt_add_qml_module.qdoc
index 375daa0b94..9f2a70bdd9 100644
--- a/src/qml/doc/src/cmake/qt_add_qml_module.qdoc
+++ b/src/qml/doc/src/cmake/qt_add_qml_module.qdoc
@@ -109,6 +109,10 @@ For cases where the QML module needs a custom plugin class implementation, the
\l{NO_GENERATE_PLUGIN_SOURCE} and usually the \l{NO_PLUGIN_OPTIONAL} options
will be needed.
+\note
+When using static linking, it migt be necessary to use
+\c Q_IMPORT_QML_PLUGIN to ensure that the QML plugin is correctly linked.
+
\section3 Plugin target with no backing target
A QML module can be defined with the plugin target serving as its own backing