Qt SCXML supports the following data models:
The Qt SCXML implementation is SCXML compliant, with a few exceptions:
_event.data
) is implemented as a QVariant. If parameters are passed to <send>
, the QVariant holds a QVariantMap, so multiple parameters with the same name are not supported.<script>
tag and a <data>
tag must be valid for the chosen data model. So, as an example: XML content inside <data> is not supported. However, the ECMAScript data model does support data in JSON format.<invoke>
is another SCXML state machine.<content>
tag is used inside an <invoke>
tag, that content must be XML. Specifically, dynamically creating SCXML, for example by concatenating strings with the ECMAScript data model, is not supported.The Qt SCXML implementation extends SCXML in the following ways:
_event.errorMessage
will contain a more detailed description of the error.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qtscxml-scxml-compliance.html