PDA

View Full Version : Qt state machine compiler and Visual design tool?



lamb
23rd June 2012, 22:23
Hi,

I read the presentation of Kent Hansen from 2009 with the topic "Qt State Machine Framework". I would like to use the state machine in a bigger software project.
But if the number of states and transtions is getting bigger and bigger the overview of the software is getting lost.

So Kent Hansen mentioned two things:
1. Qt state machine compiler (SCC)
2. Visual design tool?

For the SCC I found this link "http://labs.qt.nokia.com/2009/08/10/introducing-scc-the-scxml-compiler-for-the-qt-state-machine-framework/"

Furthermore the documentation of importing scxml file is good
http://doc.trolltech.com/solutions/4/qtstatemachine/scxml.html
but the qt solutions (http://doc.trolltech.com/solutions/4/qtstatemachine/scxml.html) don't contain the QtScriptedStateMachine.

And where is the Visual design tool?

And finaly is Qt-Nokia still working on the State Machine?

It would be nice if somebody can give me some information.

-
The lamb

amleto
23rd June 2012, 23:43
qt-nokia doesnt exist anymore. Digia bought Qt.

lamb
24th June 2012, 10:59
Thank you amleto,

then my question is:

Is Qt-Digia still working on the State Machine?

Regards,

lamb

d_stranz
25th June 2012, 03:12
qt-nokia doesnt exist anymore. Digia bought Qt.

Oh, really? Then why does this URL http://qt.nokia.com/ take you to *Nokia's* web site and not Digia?

I think you are confused a bit. Digia bought Qt Commercial (http://www.digia.com/en/Qt/Product/), not the open-source and LGPL Qt that Nokia still develops, distributes, and supports.

(Unless Digia has staged a coup and hasn't told Nokia about it...)

Back to the original question: the state machine is part of Qt 4.x and certainly be part of Qt 5.

There is a Visual SCXML (http://commons.apache.org/sandbox/gsoc/2010/scxml-eclipse/) editor that is part of the Apache Commons project. I have not tried it, nor do I know if the Qt SCXML compiler described in the Qt Labs link can successfully compile all types of SCXML created with the editor. To use it, you'll need the Eclipse framework installed.

From the Qt SCXML GIT repository, there looks to be some changes as recently as February of this year, so someone is still working on it.

lamb
25th June 2012, 18:44
Hi all,

I wrote these questions to Kent Hansen too and he answered me these questions:
Hi Thomas,

Den 22. juni 2012 16:42, skrev ext Thomas L.:
> Hi Kent Hansen,
>
> I read your presentation from 2009 with the topic "Qt State Machine Framework". I would like to use the state machine in a bigger software project.
> But if the number of states and transtions is getting bigger and bigger the overview of the software is getting lost.
>
> So you mentioned two things:
> 1. Qt state machine compiler (SCC)
> 2. Visual design tool?
>
> For the SCC I found this link "http://labs.qt.nokia.com/2009/08/10/introducing-scc-the-scxml-compiler-for-the-qt-state-machine-framework/"
>
> Furhtermore the documentation of importing scxml file is good
> http://doc.trolltech.com/solutions/4/qtstatemachine/scxml.html
> but the qt solutions (http://doc.trolltech.com/solutions/4/qtstatemachine/scxml.html) don't contain the QtScriptedStateMachine <http://doc.trolltech.com/solutions/4/qtstatemachine/qtscriptedstatemachine.html>.
>

I don't know the details of the scxml Qt solution. You could try getting in touch with the author, Noam Rosenthal.


> And where is the Visual design tool?

There is no visual design tool (that I know of). I did talk to one of the participants at the Qt Developer Days conference who said he was working on such a tool, but never heard from him later.

>
> And finaly is Qt-Nokia still working on the State Machine?

There is the occasional bug fix, but not much else happening.

Best regards,
Kent