W3cubDocs

/Qt 5.15

qt5_generate_dbus_interface

Synopsis

qt5_generate_dbus_interface(header
    [customName]
    [OPTIONS options]
)

Description

Parses the C++ source or header file containing a QObject-derived class declaration and generates a file containing the D-BUS Introspection XML.

By default, the generated XML file is stored in the current binary directory, and has the same base name as the header. You can specify a different name or path by adding customName as an optional second argument.

Options

The function sets up a call to the qdbuscpp2xml command line tool. Further arguments to the tool can be set after OPTIONS.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qtdbus-cmake-qt5-generate-dbus-interface.html