[Interest] QStateMachine as C++ (or Python) backbone of QML app

Elvis Stansvik elvstone at gmail.com
Sat May 7 21:39:43 CEST 2016


Hi all,

Back in 2010 there were a couple of interesting threads on this list
regarding the use of state machines:

    http://comments.gmane.org/gmane.comp.lib.qt.general/29861
    http://comments.gmane.org/gmane.comp.lib.qt.general/36760

In the second one, which was about using a C++ QStateMachine based
design for the backend logic, and making it available to QML, Sean
Harmer describes his approach in a very good post.

Sean, you mentioned back in that thread that you would polish up what
you had written and put it up on the Nokia blog (or the wiki?). Do you
remember if you ever got around to this, and if so, if that material
was lost when Nokia sold Qt? (or if Sean is not here, does anyone else
know?).

I'm very much interested in real-world examples/stories of using a
state machine-based C++ (or Python) backend for the logic, and QML for
the UI, especially embedded/hardware control use cases.

Cheers,
Elvis



More information about the Interest mailing list