[Qt-qml] Combining a state machine and QML UI

mikko.kiilholma at nokia.com mikko.kiilholma at nokia.com
Mon Nov 29 07:50:43 CET 2010


Hi,

I have an application just for my self practise purposes. It is a ported application from Avkon to Qt/QML.

It ended up being an application that got QObject dervied c++ engine and a QML UI.
I realized that the engine is actually a state machine and decided to try to convert it to use Qt State Machine framework.

Then there will be two parallel state machines. One in QML and one in c++ engine.
The QML state machine was done only to enable some transition animations and the engine state machine is more complex.

The question is: How to run the engine state machine from the QML side?

I found this promising wiki page about the issue:
http://developer.qt.nokia.com/wiki/State_Machines_and_QML_GUIs
But sadly the link 3. Coupling the State Machine and QML GUI<http://developer.qt.nokia.com/wiki/Coupling_The_State_Machine_And_QML_GUI> is empty.
It would have been the answer to my question.

Could someone help me with some basic ideas about this?

- Mikko



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20101129/6ef8da73/attachment.html 


More information about the Qt-qml mailing list