The qt6_add_statecharts
macro instructs CMake to invoke the qscxmlc tool to read the provided .scxml files and produce C++ source and header files, that contain the classes that implement the state machines as defined in SCXML.
qt6_add_statecharts(<TARGET> file1.scxml [file2.scxml ...] [OPTIONS ...])
For further instructions, options and examples please refer to Using the Qt SCXML Compiler (qscxmlc)
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qtscxml-cmake-qt-add-statecharts.html