Doc: Use \keyword for alternative name of CMake command

\target will let the browser jump right below the title. Instead,
open the page from the start.

Change-Id: Ia58664aa2696aca4f299d57b8dbaa9b6cda90f27
Reviewed-by: Pranta Ghosh Dastider <pranta.dastider@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
(cherry picked from commit 958dc5c1cd314358d6af3d7184c01ad62847b82d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Kai Köhne 2022-12-13 12:02:27 +01:00 committed by Qt Cherry-pick Bot
parent 29f11d6290
commit 5e28b5a9ec
23 changed files with 26 additions and 26 deletions

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_add_big_resources \title qt_add_big_resources
\target qt6_add_big_resources \keyword qt6_add_big_resources
\summary {Compiles big binary resources into object code.} \summary {Compiles big binary resources into object code.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_add_binary_resources \title qt_add_binary_resources
\target qt6_add_binary_resources \keyword qt6_add_binary_resources
\summary {Creates an RCC file from a list of Qt resource files.} \summary {Creates an RCC file from a list of Qt resource files.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_add_executable \title qt_add_executable
\target qt6_add_executable \keyword qt6_add_executable
\summary {Creates and finalizes an application target of a platform-specific type.} \summary {Creates and finalizes an application target of a platform-specific type.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_add_library \title qt_add_library
\target qt6_add_library \keyword qt6_add_library
\summary {Creates and finalizes a library.} \summary {Creates and finalizes a library.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_add_plugin \title qt_add_plugin
\target qt6_add_plugin \keyword qt6_add_plugin
\summary {Creates a Qt plugin target.} \summary {Creates a Qt plugin target.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_add_resources \title qt_add_resources
\target qt6_add_resources \keyword qt6_add_resources
\summary {Compiles binary resources into source code.} \summary {Compiles binary resources into source code.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_allow_non_utf8_sources \title qt_allow_non_utf8_sources
\target qt6_allow_non_utf8_sources \keyword qt6_allow_non_utf8_sources
\summary {Prevents forcing source files to be treated as UTF-8 for Windows.} \summary {Prevents forcing source files to be treated as UTF-8 for Windows.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_android_add_apk_target \title qt_android_add_apk_target
\target qt6_android_add_apk_target \keyword qt6_android_add_apk_target
\summary {Defines a build target that runs androiddeployqt to produce an APK.} \summary {Defines a build target that runs androiddeployqt to produce an APK.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_android_apply_arch_suffix \title qt_android_apply_arch_suffix
\target qt6_android_apply_arch_suffix \keyword qt6_android_apply_arch_suffix
\summary {Configures the target binary's name to include an architecture-specific suffix.} \summary {Configures the target binary's name to include an architecture-specific suffix.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_android_generate_deployment_settings \title qt_android_generate_deployment_settings
\target qt6_android_generate_deployment_settings \keyword qt6_android_generate_deployment_settings
\summary {Generates the deployment settings file needed by androiddeployqt.} \summary {Generates the deployment settings file needed by androiddeployqt.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_disable_unicode_defines \title qt_disable_unicode_defines
\target qt6_disable_unicode_defines \keyword qt6_disable_unicode_defines
\summary {Prevents some unicode-related compiler definitions being set automatically on a target.} \summary {Prevents some unicode-related compiler definitions being set automatically on a target.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_extract_metatypes \title qt_extract_metatypes
\target qt6_extract_metatypes \keyword qt6_extract_metatypes
\summary {Extracts metatypes from a Qt target and generates an associated metatypes.json file.} \summary {Extracts metatypes from a Qt target and generates an associated metatypes.json file.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_finalize_project \title qt_finalize_project
\target qt6_finalize_project \keyword qt6_finalize_project
\summary {Handles various common platform-specific tasks associated with a Qt project.} \summary {Handles various common platform-specific tasks associated with a Qt project.}
\preliminarycmakecommand \preliminarycmakecommand

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_finalize_target \title qt_finalize_target
\target qt6_finalize_target \keyword qt6_finalize_target
\summary {Handles various common platform-specific tasks associated with Qt targets.} \summary {Handles various common platform-specific tasks associated with Qt targets.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_generate_deploy_app_script \title qt_generate_deploy_app_script
\target qt6_generate_deploy_app_script \keyword qt6_generate_deploy_app_script
\summary {Generate a deployment script for an application.} \summary {Generate a deployment script for an application.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_generate_deploy_script \title qt_generate_deploy_script
\target qt6_generate_deploy_script \keyword qt6_generate_deploy_script
\summary {Generate a custom deployment script.} \summary {Generate a custom deployment script.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_generate_moc \title qt_generate_moc
\target qt6_generate_moc \keyword qt6_generate_moc
\summary {Calls moc on an input file.} \summary {Calls moc on an input file.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_import_plugins \title qt_import_plugins
\target qt6_import_plugins \keyword qt6_import_plugins
\summary {Specifies a custom set of plugins to import for a static Qt build.} \summary {Specifies a custom set of plugins to import for a static Qt build.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_set_finalizer_mode \title qt_set_finalizer_mode
\target qt6_set_finalizer_mode \keyword qt6_set_finalizer_mode
\summary {Customizes aspects of a target's finalization.} \summary {Customizes aspects of a target's finalization.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_standard_project_setup \title qt_standard_project_setup
\target qt6_standard_project_setup \keyword qt6_standard_project_setup
\summary {Setup project-wide defaults to a standard arrangement.} \summary {Setup project-wide defaults to a standard arrangement.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-commands-qtcore \ingroup cmake-commands-qtcore
\title qt_wrap_cpp \title qt_wrap_cpp
\target qt6_wrap_cpp \keyword qt6_wrap_cpp
\summary {Creates .moc files from sources.} \summary {Creates .moc files from sources.}

View File

@ -21,7 +21,7 @@ find_package(Qt6 REQUIRED COMPONENTS DBus)
\ingroup cmake-commands-qtdbus \ingroup cmake-commands-qtdbus
\title qt_add_dbus_interface \title qt_add_dbus_interface
\target qt6_add_dbus_interface \keyword qt6_add_dbus_interface
\summary {Generates C++ sources implementing an interface for a D-Bus interface \summary {Generates C++ sources implementing an interface for a D-Bus interface
description file.} description file.}
@ -89,7 +89,7 @@ Options can be set using \c set_source_files_properties on the \c dbus_spec:
\ingroup cmake-commands-qtdbus \ingroup cmake-commands-qtdbus
\title qt_add_dbus_interfaces \title qt_add_dbus_interfaces
\target qt6_add_dbus_interfaces \keyword qt6_add_dbus_interfaces
\summary {Generates C++ sources implementing interfaces for D-Bus interface \summary {Generates C++ sources implementing interfaces for D-Bus interface
description files.} description files.}
@ -150,7 +150,7 @@ arguments:
\ingroup cmake-commands-qtdbus \ingroup cmake-commands-qtdbus
\title qt_generate_dbus_interface \title qt_generate_dbus_interface
\target qt6_generate_dbus_interface \keyword qt6_generate_dbus_interface
\summary {Generates a D-Bus interface from a header file.} \summary {Generates a D-Bus interface from a header file.}
@ -189,7 +189,7 @@ arguments to the tool can be set after \c{OPTIONS}.
\ingroup cmake-commands-qtdbus \ingroup cmake-commands-qtdbus
\title qt_add_dbus_adaptor \title qt_add_dbus_adaptor
\target qt6_add_dbus_adaptor \keyword qt6_add_dbus_adaptor
\summary {Generates an adaptor class for a D-Bus interface.} \summary {Generates an adaptor class for a D-Bus interface.}

View File

@ -6,7 +6,7 @@
\ingroup cmake-macros-qtwidgets \ingroup cmake-macros-qtwidgets
\title qt_wrap_ui \title qt_wrap_ui
\target qt6_wrap_ui \keyword qt6_wrap_ui
\summary {Creates sources for .ui files.} \summary {Creates sources for .ui files.}