QScxml ECMAScript Data Model

395 views Asked by At

I am having a look at QScxml ECMAScript Data Model and as I have never used any scripting functionality of Qt I am a bit lost. I have seen that Qt has different Script engines (QtScript, QJSScript, QQMLEngine) which are all compatible to ECMAScript standard. So I am not really sure on what scripting language they refer too while saying in the documentation of QScxmlEcmaScriptDataModel

The QScxmlEcmaScriptDataModel class is the ECMAScript data model for a Qt SCXML state machine."

Any extra info or pointer would be very helpful.

1

There are 1 answers

4
SGaist On

They are refering to the SCXML Specification - B.2 The ECMAScript Data Model which in itself has nothing to do with either QML nor QtScript.

On a side note the QtScript module is deprecated in Qt 5.5 and has been removed from the pre-built binaries since Qt 5.6.

To make developer life easier, Qt Creator provides an SCXML state machine editor.