W3cubDocs

/Qt

CMake Commands in Qt6 DBus

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

find_package(Qt6 COMPONENTS DBus REQUIRED)

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.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/cmake-commands-qtdbus.html