Comandos do CMake no Qt6 DBus

Os seguintes comandos do CMake são definidos quando o Qt6::DBus é carregado, por exemplo, com

find_package(Qt6 REQUIRED COMPONENTS DBus)

Veja também Referência de comandos do CMake.

qt_add_dbus_adaptor

Gera uma classe adaptadora para uma interface D-Bus.

qt_add_dbus_interface

Gera códigos-fonte em C++ que implementam uma interface para um arquivo de descrição de interface do D-Bus.

qt_add_dbus_interfaces

Gera códigos-fonte em C++ que implementam interfaces para arquivos de descrição de interface D-Bus.

qt_generate_dbus_interface

Gera uma interface D-Bus a partir de um arquivo de cabeçalho.

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