diff options
author | Andrei Golubev <andrei.golubev@qt.io> | 2021-12-23 15:59:35 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-12-24 10:10:07 +0000 |
commit | c6fb435714d589fc98b5be0a014a5cecbdb5b496 (patch) | |
tree | e1b232ef0c8c0409428a85b70c61075ff3d9d867 /src/qml/doc/src | |
parent | b1dcf728e3fc2c7917b1fb27abd5b277b646db2e (diff) |
Add missing documentation for qmltc cmake command
The option got silently introduced, undocumented
Change-Id: Iebaf38c8f96e5a5d3ba96863f28efe5180718c33
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@qt.io>
(cherry picked from commit 777b56942bc8a9d4ae9489d535070cce4f0a5998)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/qml/doc/src')
-rw-r--r-- | src/qml/doc/src/cmake/qt_target_compile_qml_to_cpp.qdoc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/doc/src/cmake/qt_target_compile_qml_to_cpp.qdoc b/src/qml/doc/src/cmake/qt_target_compile_qml_to_cpp.qdoc index f6c56a94af..9db99e7ba2 100644 --- a/src/qml/doc/src/cmake/qt_target_compile_qml_to_cpp.qdoc +++ b/src/qml/doc/src/cmake/qt_target_compile_qml_to_cpp.qdoc @@ -41,6 +41,7 @@ qt_target_compile_qml_to_cpp( target FILES ... [NAMESPACE namespace] + [IMPORT_PATHS ...] ) \endcode @@ -72,6 +73,10 @@ qt_add_qml_module() command. resides. By default, no namespace is specified for user projects. The code generated from Qt's own sources is put under a QT_NAMESPACE namespace. +\c IMPORT_PATHS can be used to add locations that contain QML modules. The +specified entries are passed to qmltc and allow to correctly import modules that +do not reside under the location specified by QLibraryInfo::QmlImportsPath. + While processing FILES, the following source file properties are respected: \list \li \c{QT_QMLTC_FILE_BASENAME}: use this source file property to specify a |