diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2016-08-22 16:04:11 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2016-08-23 08:12:10 +0000 |
commit | 78693ba8b671134e058b799005b8f5dd4f3fc1b3 (patch) | |
tree | 18e42427ae7dee3d5e8076e57f7514d02b13cc28 /examples/scxml/mediaplayer-qml-dynamic/doc | |
parent | 7baaedf871739beb584c0a0cd7e0af72310a58c4 (diff) |
Get rid of qt mode
Change-Id: Id8cc29a9a27f571f063b1cec51e534a3c762f2c6
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'examples/scxml/mediaplayer-qml-dynamic/doc')
-rw-r--r-- | examples/scxml/mediaplayer-qml-dynamic/doc/src/mediaplayer-qml-dynamic.qdoc | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/examples/scxml/mediaplayer-qml-dynamic/doc/src/mediaplayer-qml-dynamic.qdoc b/examples/scxml/mediaplayer-qml-dynamic/doc/src/mediaplayer-qml-dynamic.qdoc index 525974a..4f0cb78 100644 --- a/examples/scxml/mediaplayer-qml-dynamic/doc/src/mediaplayer-qml-dynamic.qdoc +++ b/examples/scxml/mediaplayer-qml-dynamic/doc/src/mediaplayer-qml-dynamic.qdoc @@ -44,5 +44,19 @@ \include mediaplayer-ecmascript-data-model.qdocinc - \include mediaplayer-dynamic.qdocinc + \section1 Dynamically Loading the State Machine + + We link against the Qt SCXML module by adding the following line to the + example \e .pro file: + + \quotefromfile mediaplayer-qml-dynamic/mediaplayer-qml-dynamic.pro + \skipto QT + \printline scxml + + We dynamically create the state machine in + \e mediaplayer-common\Mediaplayer.qml: + + \quotefromfile mediaplayer-common/Mediaplayer.qml + \skipto import QtScxml + \printuntil scxmlLoader.filename */ |