aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-10-13 09:55:31 +0200
committerUlf Hermann <ulf.hermann@qt.io>2021-10-18 12:39:28 +0200
commit45d8ea9e663a16c59ee5594b2e6dd95d4737b592 (patch)
tree18b1fdd3bfc878e8ebbe4046133e865b53118d22 /src/qml/doc
parent837ea7188ac4d971f2806f2b1fac63a28d19202e (diff)
Rename and document QT_QMLCACHEGEN_{BINARY|EXECUTABLE}
Once qmlsc is available people may want to explicitly choose between qmlsc and qmlcachegen. As we are renaming it, we leave it internal in 6.2. Change-Id: Idacb14145fc45bb3397fcff28e0fe34bfe94618a Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/doc')
-rw-r--r--src/qml/doc/src/cmake/qt_add_qml_module.qdoc13
1 files changed, 13 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 00926e6678..4b42d7faac 100644
--- a/src/qml/doc/src/cmake/qt_add_qml_module.qdoc
+++ b/src/qml/doc/src/cmake/qt_add_qml_module.qdoc
@@ -245,6 +245,19 @@ found at the following resource paths:
\li \c{/my.company.com/imports/MyCo/Frames/AnotherFrame.qml}
\endlist
+In the rare case that you want to override the automatic selection of the
+qmlcachegen program to be used, you may set the \c QT_QMLCACHEGEN_EXECUTABLE
+target property on the module target. For example:
+
+\badcode
+set_target_properties(someTarget PROPERTIES
+ QT_QMLCACHEGEN_EXECUTABLE qmlcachegen
+)
+\endcode
+
+This explicitly selects qmlcachegen as the program to be used, even if
+better alternatives are available.
+
\target qmllint-auto
\section2 Linting QML sources