Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.1
-
None
-
windows 10
Description
在QtQuick项目中创建一个SCXML文件,在c++主程序中注册状态机,在QML中,调用start()命令启动状态机,在QML中更改状态机的状态(使用submitEvent函数),然后在QML中调用stop()命令。
然后在QML中再次启动状态机,状态机有多个活动状态。初始状态是活动的,最后一个状态(状态机停止之前)也是活动的。
Create a SCXML file in my Qt Quick project, register the state machine in the C++ main program, and in QML, call start() command starts the state machine, changes the state of state machine in QML(using submitEvent function), then call stop() command in QML.
Then in QML, starts the state machine again, the state machine has multiple active states. The initial state is active and the last state (before the state machine stops) is also active.