summaryrefslogtreecommitdiffstats
path: root/src/dbus/doc/src/includes/cmake-find-package-dbus.qdocinc
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2021-11-29 16:41:58 +0100
committerKai Köhne <kai.koehne@qt.io>2021-12-09 22:20:04 +0100
commitb34be3868bd0933813f02c6a0fcbb5afd18b4105 (patch)
tree1e0ed8c29706d468c66178effb908349e1fb0e68 /src/dbus/doc/src/includes/cmake-find-package-dbus.qdocinc
parent7586e1980f6b539047d3a4c70e57560c04d2a7ae (diff)
Doc: Use find_package(Qt6 REQUIRED COMPONENTS ...) idiom
Using REQUIRED as a prefix instead of suffix works better with OPTIONAL_COMPONENTS, and is also the order in the CMake manual. Task-number: QTBUG-98867 Pick-to: 6.2 Change-Id: I1ab68408b95d8edf06272a3b9fceccd8d8e597fc Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'src/dbus/doc/src/includes/cmake-find-package-dbus.qdocinc')
-rw-r--r--src/dbus/doc/src/includes/cmake-find-package-dbus.qdocinc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus/doc/src/includes/cmake-find-package-dbus.qdocinc b/src/dbus/doc/src/includes/cmake-find-package-dbus.qdocinc
index d72102831e..1ed1c6a8ec 100644
--- a/src/dbus/doc/src/includes/cmake-find-package-dbus.qdocinc
+++ b/src/dbus/doc/src/includes/cmake-find-package-dbus.qdocinc
@@ -1,5 +1,5 @@
The command is defined in the \c DBus component of the \c Qt6 package. Load the package with:
\code
-find_package(Qt6 COMPONENTS DBus REQUIRED)
+find_package(Qt6 REQUIRED COMPONENTS DBus)
\endcode