diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-07-19 16:02:23 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-07-21 18:32:02 +0000 |
commit | 3fa85ce87d4db43cb93a3b8b65f2de38701c8321 (patch) | |
tree | 122448d75d5b3106eaa6e2fc46a425196f7b1cba /src/qml/doc | |
parent | 158c2e636b39659f130ea5988dcca81481d07783 (diff) |
Mention Q_IMPORT_QML_PLUGIN in qt_add_qml_module docs
To increase the chance of finding it.
Change-Id: Id71267e887d3799d8dc50858942d1c37557a8b82
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit 610f10b74b186559355725acc132225eba7b97a8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/qml/doc')
-rw-r--r-- | src/qml/doc/src/cmake/qt_add_qml_module.qdoc | 4 |
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 ae8306af6d..f49316faef 100644 --- a/src/qml/doc/src/cmake/qt_add_qml_module.qdoc +++ b/src/qml/doc/src/cmake/qt_add_qml_module.qdoc @@ -128,6 +128,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 |