Details
-
Suggestion
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.9.0
-
None
-
not relevant
Description
If I understand it correctly Qt's SCXML implementation offers no possibility to reference states and events using symbols so that they are checked at compile time, not even if the state machine is compiled to C++ code.
The SCXML compiler generates boolean properties for the states defined in XML, but no accessors to it (Why does it even generate properties then?). Please provide accessors in the future so we can check at compile time weather valid states is referred or not.
I am not working on a large project involving SCXML right now, but if I ever do so I can easily imagine that sates change in the XML definition and some references to it in C++ code are not updated properly, which then results in incorrect behavior (that could have caught easily by using proper symbols instead of strings!).
Attachments
Issue Links
- relates to
-
QTBUG-51818 scxml cannot handle state or event names with special characters
- Closed
-
QTBUG-58384 SCXML compiler: qt mode was removed
- Closed