Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QML & C++: New declarative state machines in mobile apps
Forum Updated to NodeBB v4.3 + New Features

QML & C++: New declarative state machines in mobile apps

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Elador
    wrote on last edited by
    #1

    Hi all,

    I'm curious about how to use the new Declarative State Machine Framework introduced with Qt 5.4 in a real-world C++ and QML smartphone app. There seem to be no tutorials or anything yet. I've read the documentation, but it only covers the very simple aspects. There seems to have been a good talk by Kevin Funk "Introduction to the Declarative State Machine Framework (DSM)" at QtDevDays2014, but I couldn't find a video or slides of the talk.

    So my question is: Can anyone point me to good resources on how to use the new DSM framework stuff for screen transitions and stuff like that in a mobile app?

    Thank you!

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ckakman
      wrote on last edited by
      #2

      Hi,

      There is "this":http://doc.qt.io/qt-5/qmlstatemachine.html lengthy introductory document in Qt documentation. Isn't it detailed enough for you?

      1 Reply Last reply
      0
      • E Offline
        E Offline
        Elador
        wrote on last edited by
        #3

        Yep, that's was I was referring to. It's a good start, but it got me nowhere trying to use it in a mobile app for doing screen transitions. Having an example here would really help.

        1 Reply Last reply
        0
        • C Offline
          C Offline
          ckakman
          wrote on last edited by
          #4

          Declarative SM Framework is built on top the C++ SM Framework. You may find C++ examples useful.

          A SM transition can be used to trigger anything, be it a screen transition, network message, file operation etc. If your comfortable with manually triggered screen transitions, you can let the SM trigger that for you, however if the user is the source for screen transitions, an SM may be an overkill.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved