CMake-Befehle in Qt6 DBus

Die folgenden CMake-Befehle werden definiert, wenn Qt6::DBus geladen wird, zum Beispiel mit

find_package(Qt6 REQUIRED COMPONENTS DBus)

Siehe auch CMake Befehlsreferenz.

qt_add_dbus_adaptor

Erzeugt eine Adapterklasse für eine D-Bus Schnittstelle.

qt_add_dbus_interface

Erzeugt C++-Sourcen, die eine Schnittstelle für eine D-Bus-Schnittstellenbeschreibungsdatei implementieren.

qt_add_dbus_interfaces

Erzeugt C++-Quellen, die Schnittstellen für D-Bus-Schnittstellenbeschreibungsdateien implementieren.

qt_generate_dbus_interface

Erzeugt eine D-Bus-Schnittstelle aus einer Header-Datei.

© 2025 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.