CMake Commands in Qt6 DBus

The following CMake commands are defined when Qt6::DBus is loaded, for instance with

find_package(Qt6 REQUIRED COMPONENTS DBus)

See also CMake Command Reference.

qt_add_dbus_adaptor

Generates an adaptor class for a D-Bus interface.

qt_add_dbus_interface

Generates C++ sources implementing an interface for a D-Bus interface description file.

qt_add_dbus_interfaces

Generates C++ sources implementing interfaces for D-Bus interface description files.

qt_generate_dbus_interface

Generates a D-Bus interface from a header file.

© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.