summaryrefslogtreecommitdiffstats
path: root/examples/scxml/mediaplayer-common/doc/src/mediaplayer-compiling.qdocinc
blob: 711a32feb684a930f660a860a38162f955d8d680 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
    \section1 Compiling the State Machine

    We link against the Qt SCXML module by adding the following line to the
    \e .pro file:

    \quotefromfile mediaplayer-widgets-static/mediaplayer-widgets-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.