summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2022-01-26 15:29:17 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2022-02-01 16:51:01 +0100
commit0ad8dd480509369091f91c2370ddfdd86506cd85 (patch)
treec194975b51bbafeb145bb2f1a8c097b522f96582
parent1031fa15472bba3f20691cda2305e0821391c5db (diff)
Doc: State Qt versions for when CMake commands etc. were introduced
Introduce the qdoc macros \cmakecommandsince, \cmakepropertysince, and \cmakevariablesince that insert a paragraph akin to the \since context command. Example: \cmakecommandsince 6.3 produces the paragraph This command was introduced in Qt 6.3 The macro text is wrapped in \n\n to ensure that we always generate a new paragraph. Pick-to: 6.2 6.3 Task-number: QTBUG-100212 Change-Id: Id5c8e8812e6b0b915674d108a0e775091e9eacd8 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
-rw-r--r--doc/global/macros.qdocconf4
-rw-r--r--src/corelib/doc/src/cmake/cmake-configure-variables.qdoc15
-rw-r--r--src/corelib/doc/src/cmake/cmake-deploy-variables.qdoc5
-rw-r--r--src/corelib/doc/src/cmake/cmake-properties.qdoc14
-rw-r--r--src/corelib/doc/src/cmake/qt_add_big_resources.qdoc2
-rw-r--r--src/corelib/doc/src/cmake/qt_add_binary_resources.qdoc2
-rw-r--r--src/corelib/doc/src/cmake/qt_add_executable.qdoc2
-rw-r--r--src/corelib/doc/src/cmake/qt_add_library.qdoc2
-rw-r--r--src/corelib/doc/src/cmake/qt_add_plugin.qdoc2
-rw-r--r--src/corelib/doc/src/cmake/qt_allow_non_utf8_sources.qdoc2
-rw-r--r--src/corelib/doc/src/cmake/qt_android_add_apk_target.qdoc1
-rw-r--r--src/corelib/doc/src/cmake/qt_android_apply_arch_suffix.qdoc1
-rw-r--r--src/corelib/doc/src/cmake/qt_android_generate_deployment_settings.qdoc1
-rw-r--r--src/corelib/doc/src/cmake/qt_deploy_qt_conf.qdoc1
-rw-r--r--src/corelib/doc/src/cmake/qt_deploy_runtime_dependencies.qdoc1
-rw-r--r--src/corelib/doc/src/cmake/qt_disable_unicode_defines.qdoc2
-rw-r--r--src/corelib/doc/src/cmake/qt_extract_metatypes.qdoc1
-rw-r--r--src/corelib/doc/src/cmake/qt_finalize_target.qdoc2
-rw-r--r--src/corelib/doc/src/cmake/qt_generate_deploy_app_script.qdoc1
-rw-r--r--src/corelib/doc/src/cmake/qt_generate_moc.qdoc2
-rw-r--r--src/corelib/doc/src/cmake/qt_import_plugins.qdoc2
-rw-r--r--src/corelib/doc/src/cmake/qt_set_finalizer_mode.qdoc1
-rw-r--r--src/corelib/doc/src/cmake/qt_standard_project_setup.qdoc1
-rw-r--r--src/corelib/doc/src/cmake/qt_wrap_cpp.qdoc2
-rw-r--r--src/dbus/doc/src/qtdbus-cmake.qdoc8
25 files changed, 76 insertions, 1 deletions
diff --git a/doc/global/macros.qdocconf b/doc/global/macros.qdocconf
index 8b5f499d07..37c5a3ea1c 100644
--- a/doc/global/macros.qdocconf
+++ b/doc/global/macros.qdocconf
@@ -74,6 +74,10 @@ macro.preliminarycmakecommand = "\\note This command is in technology preview a
macro.preliminarycmakevariable = "\\note This variable is in technology preview and may change in future releases."
macro.preliminarycmakeproperty = "\\note This property is in technology preview and may change in future releases."
+macro.cmakecommandsince = "\n\nThis command was introduced in Qt \1.\n\n"
+macro.cmakevariablesince = "\n\nThis variable was introduced in Qt \1.\n\n"
+macro.cmakepropertysince = "\n\nThis property was introduced in Qt \1.\n\n"
+
macro.cmakecommandandroidonly = "\\note This command should only be called if targeting the Android platform."
macro.cmakepropertyandroidonly = "\\note This property is used only if targeting the Android platform."
macro.cmakevariableandroidonly = "\\note This variable is used only if targeting the Android platform."
diff --git a/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc b/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc
index 3a19793120..bb329aa7aa 100644
--- a/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc
+++ b/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc
@@ -55,6 +55,7 @@ find_package(Qt6 REQUIRED COMPONENTS Core)
\summary {Android-specific architecture of the host system.}
+\cmakevariablesince 6.0
\preliminarycmakevariable
\cmakevariableandroidonly
@@ -74,6 +75,7 @@ part of the deployment settings for a target.
\summary {Location of the Android SDK.}
+\cmakevariablesince 6.0
\preliminarycmakevariable
\cmakevariableandroidonly
@@ -93,6 +95,7 @@ It is written out as part of the deployment settings for a target.
\summary {List of arguments to pass to Android applications.}
+\cmakevariablesince 6.0
\preliminarycmakevariable
\cmakevariableandroidonly
@@ -112,6 +115,7 @@ out as part of the deployment settings for a target.
\summary {Enables building multi-ABI packages using the autodetected Qt for Android SDK list.}
+\cmakevariablesince 6.3
\preliminarycmakevariable
\cmakevariableandroidonly
@@ -144,6 +148,7 @@ The variable is set to FALSE by default.
\summary {List of ABIs that the project packages are built for.}
+\cmakevariablesince 6.3
\preliminarycmakevariable
\cmakevariableandroidonly
@@ -169,6 +174,7 @@ QT_ANDROID_ABIS logic.
\summary {Set of variables to specify the path to Qt for Android for the corresponding ABI.}
+\cmakevariablesince 6.3
\preliminarycmakevariable
\cmakevariableandroidonly
@@ -188,6 +194,7 @@ The list of supported ABIs can be found in the \c{QT_ANDROID_ABIS} variable docu
\summary {Location of the host Qt installation when cross-compiling.}
+\cmakevariablesince 6.0
\preliminarycmakevariable
When cross-compiling, this must be set to the install location of Qt for the host
@@ -205,6 +212,8 @@ platform. It is used to locate tools to be run on the host (\l{moc}, \l{rcc},
\summary {Disables providing a fallback team ID during target finalization on iOS.}
+\cmakevariablesince 6.1
+
When finalizing an executable target on iOS,
\l{qt6_finalize_target}{qt_finalize_target()} will populate the target's
\c XCODE_ATTRIBUTE_DEVELOPMENT_TEAM property if it hasn't been set.
@@ -221,6 +230,8 @@ Set \c QT_NO_SET_XCODE_DEVELOPMENT_TEAM_ID to true if you want to prevent this.
\summary {Disables providing a fallback app bundle ID during target finalization on iOS.}
+\cmakevariablesince 6.1
+
When finalizing an executable target on iOS,
\l{qt6_finalize_target}{qt_finalize_target()} will populate the target's
\c XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER and
@@ -238,6 +249,7 @@ Set \c QT_NO_SET_XCODE_BUNDLE_IDENTIFIER to true if you want to prevent this.
\summary {Enables verbose mode of deployment tools}
+\cmakevariablesince 6.3
\preliminarycmakevariable
Enables verbose mode of the \l androiddeployqt deployment tool when it is called
@@ -258,6 +270,7 @@ must be set before the first \c{find_package(Qt6)} call to have that effect.
\summary {Name of the file to include for setting up deployment support.}
+\cmakevariablesince 6.3
\preliminarycmakevariable
This variable is set by the Core package. It is intended to be used as the first
@@ -282,6 +295,7 @@ an application, along with its runtime dependencies:
\summary {Prevents subsequent calls to qt_standard_project_setup() from making any changes.}
+\cmakevariablesince 6.3
\preliminarycmakevariable
The \l{qt6_standard_project_setup}{qt_standard_project_setup()} command is
@@ -295,4 +309,3 @@ methods provided by CMake.
\sa {qt6_standard_project_setup}{qt_standard_project_setup()}
*/
-
diff --git a/src/corelib/doc/src/cmake/cmake-deploy-variables.qdoc b/src/corelib/doc/src/cmake/cmake-deploy-variables.qdoc
index 0c9d66812a..33f37fa6e0 100644
--- a/src/corelib/doc/src/cmake/cmake-deploy-variables.qdoc
+++ b/src/corelib/doc/src/cmake/cmake-deploy-variables.qdoc
@@ -43,6 +43,7 @@
\include cmake-deploy-var-usage.qdocinc
+\cmakevariablesince 6.3
\preliminarycmakevariable
\c{QT_DEPLOY_PREFIX} provides the base directory of the deployment. The other
@@ -80,6 +81,7 @@ variables.
\include cmake-deploy-var-usage.qdocinc
+\cmakevariablesince 6.3
\preliminarycmakevariable
Projects should use \c QT_DEPLOY_BIN_DIR in their deploy scripts instead of
@@ -117,6 +119,7 @@ should not be used for that scenario.
\include cmake-deploy-var-usage.qdocinc
+\cmakevariablesince 6.3
\preliminarycmakevariable
Projects should use \c QT_DEPLOY_LIB_DIR in their deploy scripts instead of
@@ -150,6 +153,7 @@ should not be used for that scenario.
\include cmake-deploy-var-usage.qdocinc
+\cmakevariablesince 6.3
\preliminarycmakevariable
Projects should use \c QT_DEPLOY_PLUGINS_DIR in their deploy scripts instead of
@@ -178,6 +182,7 @@ bundle contents.
\include cmake-deploy-var-usage.qdocinc
+\cmakevariablesince 6.3
\preliminarycmakevariable
Projects should use \c QT_DEPLOY_QML_DIR in their deploy scripts instead of
diff --git a/src/corelib/doc/src/cmake/cmake-properties.qdoc b/src/corelib/doc/src/cmake/cmake-properties.qdoc
index 37b4283d9b..e05d94649e 100644
--- a/src/corelib/doc/src/cmake/cmake-properties.qdoc
+++ b/src/corelib/doc/src/cmake/cmake-properties.qdoc
@@ -45,6 +45,7 @@ target properties:
\brief Overrides the Qt dependencies added to the target's deployment.
+\cmakepropertysince 6.3
\preliminarycmakeproperty
\cmakepropertyandroidonly
@@ -75,6 +76,7 @@ is listed before its dependencies, it will fail to load on some devices.
\summary {Extra libraries to deploy with the target.}
+\cmakepropertysince 6.3
\preliminarycmakeproperty
\cmakepropertyandroidonly
@@ -96,6 +98,7 @@ to enable OpenSSL in your application. For more information, see
\summary {Extra Qt plugins to deploy with the target.}
+\cmakepropertysince 6.3
\preliminarycmakeproperty
\cmakepropertyandroidonly
@@ -126,6 +129,7 @@ mangling is applied to the plugin library.
\summary {Minimum Android SDK version.}
+\cmakepropertysince 6.1
\preliminarycmakeproperty
\cmakepropertyandroidonly
@@ -144,6 +148,7 @@ Specifies the minimum Android API level for the target.
\summary {Path to a custom Android package template.}
+\cmakepropertysince 6.3
\preliminarycmakeproperty
\cmakepropertyandroidonly
@@ -176,6 +181,7 @@ then place this directly into the directory specified by this variable.
\summary {Android target SDK version.}
+\cmakepropertysince 6.1
\preliminarycmakeproperty
\cmakepropertyandroidonly
@@ -194,6 +200,7 @@ Specifies the target Android API level for the target.
\summary {Internal Android app version.}
+\cmakepropertysince 6.3
\preliminarycmakeproperty
\cmakepropertyandroidonly
@@ -215,6 +222,7 @@ For more information, see \l{Android: App Versioning}{Android App Versioning}.
\summary {Human-readable Android app version.}
+\cmakepropertysince 6.3
\preliminarycmakeproperty
\cmakepropertyandroidonly
@@ -236,6 +244,7 @@ For more information, see \l{Android: App Versioning}{Android App Versioning}.
\summary {List of ABIs that packages of a single target are built for.}
+\cmakepropertysince 6.3
\preliminarycmakeproperty
\cmakepropertyandroidonly
@@ -255,6 +264,7 @@ the list of ABIs that the single target packages are supposed to be built for.
\summary {Overrides the location of the application's qml directory.}
+\cmakepropertysince 6.3
\preliminarycmakeproperty
This property is currently only used when generating a deployment settings file
@@ -275,6 +285,7 @@ will be used instead.
\summary {Specifies a list of directories to search for QML imports.}
+\cmakepropertysince 6.3
\preliminarycmakeproperty
This property is currently only used when generating a deployment settings file
@@ -296,6 +307,7 @@ For application-specific QML imports, use
\summary {Specifies the location of a target's generated deployment settings file.}
+\cmakepropertysince 6.0
\preliminarycmakeproperty
\cmakepropertyandroidonly
@@ -315,6 +327,7 @@ and overwritten by that command.
\summary {Specifies to inhibit linking against Qt's entrypoint lib.}
+\cmakepropertysince 6.1
\preliminarycmakeproperty
On certain platforms, Qt applications link against Qt's entrypoint lib by default.
@@ -333,6 +346,7 @@ On targets that must provide their own entry point, set the property \c qt_no_en
\summary {Specifies the default Qt resource prefix.}
+\cmakepropertysince 6.0
\preliminarycmakeproperty
When using \l{qt6_add_resources}{qt_add_resources} without a \c PREFIX
diff --git a/src/corelib/doc/src/cmake/qt_add_big_resources.qdoc b/src/corelib/doc/src/cmake/qt_add_big_resources.qdoc
index be3617a034..4ee48371df 100644
--- a/src/corelib/doc/src/cmake/qt_add_big_resources.qdoc
+++ b/src/corelib/doc/src/cmake/qt_add_big_resources.qdoc
@@ -36,6 +36,8 @@
\include cmake-find-package-core.qdocinc
+\cmakecommandsince 5.12
+
\section1 Synopsis
\badcode
diff --git a/src/corelib/doc/src/cmake/qt_add_binary_resources.qdoc b/src/corelib/doc/src/cmake/qt_add_binary_resources.qdoc
index b601093942..de435d870b 100644
--- a/src/corelib/doc/src/cmake/qt_add_binary_resources.qdoc
+++ b/src/corelib/doc/src/cmake/qt_add_binary_resources.qdoc
@@ -36,6 +36,8 @@
\include cmake-find-package-core.qdocinc
+\cmakecommandsince 5.10
+
\section1 Synopsis
\badcode
diff --git a/src/corelib/doc/src/cmake/qt_add_executable.qdoc b/src/corelib/doc/src/cmake/qt_add_executable.qdoc
index 4302ea9ebe..3ff0b9ba85 100644
--- a/src/corelib/doc/src/cmake/qt_add_executable.qdoc
+++ b/src/corelib/doc/src/cmake/qt_add_executable.qdoc
@@ -36,6 +36,8 @@
\include cmake-find-package-core.qdocinc
+\cmakecommandsince 6.0
+
\section1 Synopsis
\badcode
diff --git a/src/corelib/doc/src/cmake/qt_add_library.qdoc b/src/corelib/doc/src/cmake/qt_add_library.qdoc
index 4865a5df93..29709634ec 100644
--- a/src/corelib/doc/src/cmake/qt_add_library.qdoc
+++ b/src/corelib/doc/src/cmake/qt_add_library.qdoc
@@ -36,6 +36,8 @@
\include cmake-find-package-core.qdocinc
+\cmakecommandsince 6.2
+
\section1 Synopsis
\badcode
diff --git a/src/corelib/doc/src/cmake/qt_add_plugin.qdoc b/src/corelib/doc/src/cmake/qt_add_plugin.qdoc
index f20b4c5afc..d23e127afc 100644
--- a/src/corelib/doc/src/cmake/qt_add_plugin.qdoc
+++ b/src/corelib/doc/src/cmake/qt_add_plugin.qdoc
@@ -36,6 +36,8 @@
\include cmake-find-package-core.qdocinc
+\cmakecommandsince 6.0
+
\section1 Synopsis
\badcode
diff --git a/src/corelib/doc/src/cmake/qt_allow_non_utf8_sources.qdoc b/src/corelib/doc/src/cmake/qt_allow_non_utf8_sources.qdoc
index 1f65d298f7..e8dd2c9ca5 100644
--- a/src/corelib/doc/src/cmake/qt_allow_non_utf8_sources.qdoc
+++ b/src/corelib/doc/src/cmake/qt_allow_non_utf8_sources.qdoc
@@ -36,6 +36,8 @@
\include cmake-find-package-core.qdocinc
+\cmakecommandsince 6.0
+
\section1 Synopsis
\badcode
diff --git a/src/corelib/doc/src/cmake/qt_android_add_apk_target.qdoc b/src/corelib/doc/src/cmake/qt_android_add_apk_target.qdoc
index f07fb1bd8f..12d5374e1a 100644
--- a/src/corelib/doc/src/cmake/qt_android_add_apk_target.qdoc
+++ b/src/corelib/doc/src/cmake/qt_android_add_apk_target.qdoc
@@ -36,6 +36,7 @@
\include cmake-find-package-core.qdocinc
+\cmakecommandsince 6.0
\preliminarycmakecommand
\cmakecommandandroidonly
diff --git a/src/corelib/doc/src/cmake/qt_android_apply_arch_suffix.qdoc b/src/corelib/doc/src/cmake/qt_android_apply_arch_suffix.qdoc
index 570de072c4..487a3cb509 100644
--- a/src/corelib/doc/src/cmake/qt_android_apply_arch_suffix.qdoc
+++ b/src/corelib/doc/src/cmake/qt_android_apply_arch_suffix.qdoc
@@ -36,6 +36,7 @@
\include cmake-find-package-core.qdocinc
+\cmakecommandsince 6.0
\preliminarycmakecommand
\cmakecommandandroidonly
diff --git a/src/corelib/doc/src/cmake/qt_android_generate_deployment_settings.qdoc b/src/corelib/doc/src/cmake/qt_android_generate_deployment_settings.qdoc
index aa48820386..89c0dc8e7f 100644
--- a/src/corelib/doc/src/cmake/qt_android_generate_deployment_settings.qdoc
+++ b/src/corelib/doc/src/cmake/qt_android_generate_deployment_settings.qdoc
@@ -36,6 +36,7 @@
\include cmake-find-package-core.qdocinc
+\cmakecommandsince 6.0
\preliminarycmakecommand
\cmakecommandandroidonly
diff --git a/src/corelib/doc/src/cmake/qt_deploy_qt_conf.qdoc b/src/corelib/doc/src/cmake/qt_deploy_qt_conf.qdoc
index abd1991b13..57470c2edd 100644
--- a/src/corelib/doc/src/cmake/qt_deploy_qt_conf.qdoc
+++ b/src/corelib/doc/src/cmake/qt_deploy_qt_conf.qdoc
@@ -40,6 +40,7 @@ Unlike most other CMake commands provided by Qt, \c{qt_deploy_qt_conf()} can
only be called from a deployment script. It cannot be called directly by the
project.
+\cmakecommandsince 6.3
\preliminarycmakecommand
\section1 Synopsis
diff --git a/src/corelib/doc/src/cmake/qt_deploy_runtime_dependencies.qdoc b/src/corelib/doc/src/cmake/qt_deploy_runtime_dependencies.qdoc
index 0a41de7b02..817dbef980 100644
--- a/src/corelib/doc/src/cmake/qt_deploy_runtime_dependencies.qdoc
+++ b/src/corelib/doc/src/cmake/qt_deploy_runtime_dependencies.qdoc
@@ -40,6 +40,7 @@ Unlike most other CMake commands provided by Qt, \c{qt_deploy_runtime_dependenci
can only be called from a deployment script. It cannot be called directly by the
project during the configure stage.
+\cmakecommandsince 6.3
\preliminarycmakecommand
\section1 Synopsis
diff --git a/src/corelib/doc/src/cmake/qt_disable_unicode_defines.qdoc b/src/corelib/doc/src/cmake/qt_disable_unicode_defines.qdoc
index 956a272d6f..97d1874557 100644
--- a/src/corelib/doc/src/cmake/qt_disable_unicode_defines.qdoc
+++ b/src/corelib/doc/src/cmake/qt_disable_unicode_defines.qdoc
@@ -36,6 +36,8 @@
\include cmake-find-package-core.qdocinc
+\cmakecommandsince 6.2
+
\section1 Synopsis
\badcode
diff --git a/src/corelib/doc/src/cmake/qt_extract_metatypes.qdoc b/src/corelib/doc/src/cmake/qt_extract_metatypes.qdoc
index 8ae60b9c11..259c08b3f5 100644
--- a/src/corelib/doc/src/cmake/qt_extract_metatypes.qdoc
+++ b/src/corelib/doc/src/cmake/qt_extract_metatypes.qdoc
@@ -34,6 +34,7 @@
\summary {Extracts metatypes from a Qt target and generates an associated metatypes.json file.}
+\cmakecommandsince 6.0
\preliminarycmakecommand
\section1 Synopsis
diff --git a/src/corelib/doc/src/cmake/qt_finalize_target.qdoc b/src/corelib/doc/src/cmake/qt_finalize_target.qdoc
index eb3e7a479b..fa700cb4c2 100644
--- a/src/corelib/doc/src/cmake/qt_finalize_target.qdoc
+++ b/src/corelib/doc/src/cmake/qt_finalize_target.qdoc
@@ -36,6 +36,8 @@
\include cmake-find-package-core.qdocinc
+\cmakecommandsince 6.3
+
\section1 Synopsis
\badcode
diff --git a/src/corelib/doc/src/cmake/qt_generate_deploy_app_script.qdoc b/src/corelib/doc/src/cmake/qt_generate_deploy_app_script.qdoc
index 103fad3761..e7ca37fb45 100644
--- a/src/corelib/doc/src/cmake/qt_generate_deploy_app_script.qdoc
+++ b/src/corelib/doc/src/cmake/qt_generate_deploy_app_script.qdoc
@@ -36,6 +36,7 @@
\include cmake-find-package-core.qdocinc
+\cmakecommandsince 6.3
\preliminarycmakecommand
\section1 Synopsis
diff --git a/src/corelib/doc/src/cmake/qt_generate_moc.qdoc b/src/corelib/doc/src/cmake/qt_generate_moc.qdoc
index c51001e3eb..a885f7d532 100644
--- a/src/corelib/doc/src/cmake/qt_generate_moc.qdoc
+++ b/src/corelib/doc/src/cmake/qt_generate_moc.qdoc
@@ -36,6 +36,8 @@
\include cmake-find-package-core.qdocinc
+\cmakecommandsince 5.0
+
\section1 Synopsis
\badcode
diff --git a/src/corelib/doc/src/cmake/qt_import_plugins.qdoc b/src/corelib/doc/src/cmake/qt_import_plugins.qdoc
index 98e81bfeff..2edda307cf 100644
--- a/src/corelib/doc/src/cmake/qt_import_plugins.qdoc
+++ b/src/corelib/doc/src/cmake/qt_import_plugins.qdoc
@@ -36,6 +36,8 @@
\include cmake-find-package-core.qdocinc
+\cmakecommandsince 5.14
+
\section1 Synopsis
\badcode
diff --git a/src/corelib/doc/src/cmake/qt_set_finalizer_mode.qdoc b/src/corelib/doc/src/cmake/qt_set_finalizer_mode.qdoc
index 8a395465ea..b2d9868e0c 100644
--- a/src/corelib/doc/src/cmake/qt_set_finalizer_mode.qdoc
+++ b/src/corelib/doc/src/cmake/qt_set_finalizer_mode.qdoc
@@ -34,6 +34,7 @@
\summary {Customizes aspects of a target's finalization.}
+\cmakecommandsince 6.3
\preliminarycmakecommand
\section1 Synopsis
diff --git a/src/corelib/doc/src/cmake/qt_standard_project_setup.qdoc b/src/corelib/doc/src/cmake/qt_standard_project_setup.qdoc
index 389146a790..f86c0546d2 100644
--- a/src/corelib/doc/src/cmake/qt_standard_project_setup.qdoc
+++ b/src/corelib/doc/src/cmake/qt_standard_project_setup.qdoc
@@ -36,6 +36,7 @@
\include cmake-find-package-core.qdocinc
+\cmakecommandsince 6.3
\preliminarycmakecommand
\section1 Synopsis
diff --git a/src/corelib/doc/src/cmake/qt_wrap_cpp.qdoc b/src/corelib/doc/src/cmake/qt_wrap_cpp.qdoc
index f1731ed825..12cdf818cd 100644
--- a/src/corelib/doc/src/cmake/qt_wrap_cpp.qdoc
+++ b/src/corelib/doc/src/cmake/qt_wrap_cpp.qdoc
@@ -36,6 +36,8 @@
\include cmake-find-package-core.qdocinc
+\cmakecommandsince 5.0
+
\section1 Synopsis
\badcode
diff --git a/src/dbus/doc/src/qtdbus-cmake.qdoc b/src/dbus/doc/src/qtdbus-cmake.qdoc
index c35543c113..885ea62047 100644
--- a/src/dbus/doc/src/qtdbus-cmake.qdoc
+++ b/src/dbus/doc/src/qtdbus-cmake.qdoc
@@ -51,6 +51,8 @@ description file.}
\include cmake-find-package-dbus.qdocinc
+\cmakecommandsince 6.0
+
\section1 Synopsis
\badcode
@@ -117,6 +119,8 @@ description files.}
\include cmake-find-package-dbus.qdocinc
+\cmakecommandsince 6.0
+
\section1 Synopsis
\badcode
@@ -175,6 +179,8 @@ arguments:
\include cmake-find-package-dbus.qdocinc
+\cmakecommandsince 6.0
+
\section1 Synopsis
\badcode
@@ -212,6 +218,8 @@ arguments to the tool can be set after \c{OPTIONS}.
\include cmake-find-package-dbus.qdocinc
+\cmakecommandsince 6.0
+
\section1 Synopsis
\badcode