The command is defined in the \c DBus component of the \c Qt6 package. Load the package with: \code find_package(Qt6 REQUIRED COMPONENTS DBus) \endcode