The following CMake commands are defined when Qt6::DBus is loaded, for instance with
find_package(Qt6 REQUIRED COMPONENTS DBus)
另请参阅 CMake 命令参考 .
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. |