blob: ac1620390030d7e49b98ef7d6c52015bb5bfcc8b [file] [log] [blame]
\section1 Compiling the State Machine
We link against the Qt SCXML module by adding the following line to the
\e .pro file:
\quotefromfile trafficlight-qml-static/trafficlight-qml-static.pro
\skipto QT
\printline scxml
We then specify the state machine to compile:
\skipto STATECHARTS
\printline scxml
The Qt SCXML Compiler, \c qscxmlc, is run automatically to generate
\e statemachine.h and \e statemachine.cpp, and to add them to the \c HEADERS
and \c SOURCES variables for compilation.