Comandi CMake in Qt6 DBus

I seguenti comandi CMake vengono definiti quando viene caricato Qt6::DBus, ad esempio con

find_package(Qt6 REQUIRED COMPONENTS DBus)

Vedi anche Riferimento ai comandi CMake.

qt_add_dbus_adaptor

Genera una classe adattatore per un'interfaccia D-Bus.

qt_add_dbus_interface

Genera sorgenti C++ che implementano un'interfaccia per un file di descrizione dell'interfaccia D-Bus.

qt_add_dbus_interfaces

Genera file sorgente C++ che implementano le interfacce per i file di descrizione delle interfacce D-Bus.

qt_generate_dbus_interface

Genera un'interfaccia D-Bus da un file di intestazione.

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