aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2024-08-26 15:46:39 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-08-30 23:57:48 +0000
commit15a4a5198781647d45fe31ce141393d713113022 (patch)
tree00e1c37e22a5b4ecd015baa02f1326e47e62577e
parent38c9b92a2f77c20e59da67e6f3c6e7ff12cf29f3 (diff)
Doc: Put qt6_ CMake commands in help index
Using \keyword instead of \target means that IDE's can properly look up these commands in the qch index. Task-number: QTBUG-128368 Change-Id: I3995f5fe5a995765a12c129280f7ed3e8155ae3a Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit 6c549ed077c883bb9c7b14b35dec815e7f11475c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit b3bf03935bf46e0fe5ff1fb4eabac50bcbab554d)
-rw-r--r--src/qml/doc/src/cmake/qt_add_qml_module.qdoc2
-rw-r--r--src/qml/doc/src/cmake/qt_add_qml_plugin.qdoc2
-rw-r--r--src/qml/doc/src/cmake/qt_generate_deploy_qml_app_script.qdoc2
-rw-r--r--src/qml/doc/src/cmake/qt_generate_foreign_qml_types.qdoc2
-rw-r--r--src/qml/doc/src/cmake/qt_import_qml_plugins.qdoc2
-rw-r--r--src/qml/doc/src/cmake/qt_query_qml_module.qdoc2
-rw-r--r--src/qml/doc/src/cmake/qt_target_compile_qml_to_cpp.qdoc2
-rw-r--r--src/qml/doc/src/cmake/qt_target_qml_sources.qdoc2
8 files changed, 8 insertions, 8 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 94a7a9d67f..36e26fd62e 100644
--- a/src/qml/doc/src/cmake/qt_add_qml_module.qdoc
+++ b/src/qml/doc/src/cmake/qt_add_qml_module.qdoc
@@ -6,7 +6,7 @@
\ingroup cmake-commands-qtqml
\title qt_add_qml_module
-\target qt6_add_qml_module
+\keyword qt6_add_qml_module
\brief Defines a QML module.
diff --git a/src/qml/doc/src/cmake/qt_add_qml_plugin.qdoc b/src/qml/doc/src/cmake/qt_add_qml_plugin.qdoc
index 2ce744559c..afbd8a8114 100644
--- a/src/qml/doc/src/cmake/qt_add_qml_plugin.qdoc
+++ b/src/qml/doc/src/cmake/qt_add_qml_plugin.qdoc
@@ -6,7 +6,7 @@
\ingroup cmake-commands-qtqml
\title qt_add_qml_plugin
-\target qt6_add_qml_plugin
+\keyword qt6_add_qml_plugin
\brief Defines a plugin associated with a QML module.
diff --git a/src/qml/doc/src/cmake/qt_generate_deploy_qml_app_script.qdoc b/src/qml/doc/src/cmake/qt_generate_deploy_qml_app_script.qdoc
index 0d5088e7e5..9d1beac3fd 100644
--- a/src/qml/doc/src/cmake/qt_generate_deploy_qml_app_script.qdoc
+++ b/src/qml/doc/src/cmake/qt_generate_deploy_qml_app_script.qdoc
@@ -6,7 +6,7 @@
\ingroup cmake-commands-qtqml
\title qt_generate_deploy_qml_app_script
-\target qt6_generate_deploy_qml_app_script
+\keyword qt6_generate_deploy_qml_app_script
\summary {Generate a deployment script for a QML application.}
diff --git a/src/qml/doc/src/cmake/qt_generate_foreign_qml_types.qdoc b/src/qml/doc/src/cmake/qt_generate_foreign_qml_types.qdoc
index 22d72c101b..52dd889bd3 100644
--- a/src/qml/doc/src/cmake/qt_generate_foreign_qml_types.qdoc
+++ b/src/qml/doc/src/cmake/qt_generate_foreign_qml_types.qdoc
@@ -6,7 +6,7 @@
\ingroup cmake-commands-qtqml
\title qt_generate_foreign_qml_types
-\target qt6_generate_foreign_qml_types
+\keyword qt6_generate_foreign_qml_types
\summary{Registers types from one target in a QML module.}
diff --git a/src/qml/doc/src/cmake/qt_import_qml_plugins.qdoc b/src/qml/doc/src/cmake/qt_import_qml_plugins.qdoc
index 8d6b32f903..1ef11e1867 100644
--- a/src/qml/doc/src/cmake/qt_import_qml_plugins.qdoc
+++ b/src/qml/doc/src/cmake/qt_import_qml_plugins.qdoc
@@ -6,7 +6,7 @@
\ingroup cmake-commands-qtqml
\title qt_import_qml_plugins
-\target qt6_import_qml_plugins
+\keyword qt6_import_qml_plugins
\brief Ensures QML plugins needed by a target are imported for static builds.
diff --git a/src/qml/doc/src/cmake/qt_query_qml_module.qdoc b/src/qml/doc/src/cmake/qt_query_qml_module.qdoc
index c72626a52d..ed30df73a9 100644
--- a/src/qml/doc/src/cmake/qt_query_qml_module.qdoc
+++ b/src/qml/doc/src/cmake/qt_query_qml_module.qdoc
@@ -6,7 +6,7 @@
\ingroup cmake-commands-qtqml
\title qt_query_qml_module
-\target qt6_query_qml_module
+\keyword qt6_query_qml_module
\summary {Retrieve information about a QML module.}
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 0ef6e421ed..c59b62a760 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
@@ -6,7 +6,7 @@
\ingroup cmake-commands-qtqml
\title qt_target_compile_qml_to_cpp
-\target qt6_target_compile_qml_to_cpp
+\keyword qt6_target_compile_qml_to_cpp
This command is removed in Qt 6.4 in favor of \l{qt6_add_qml_module} which can
now invoke qmltc internally as described in the \l{qmltc-cmake}{qmltc section}.
diff --git a/src/qml/doc/src/cmake/qt_target_qml_sources.qdoc b/src/qml/doc/src/cmake/qt_target_qml_sources.qdoc
index 6f06de48e7..3911b18c08 100644
--- a/src/qml/doc/src/cmake/qt_target_qml_sources.qdoc
+++ b/src/qml/doc/src/cmake/qt_target_qml_sources.qdoc
@@ -6,7 +6,7 @@
\ingroup cmake-commands-qtqml
\title qt_target_qml_sources
-\target qt6_target_qml_sources
+\keyword qt6_target_qml_sources
\brief Add qml files and resources to an existing QML module target.