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.