Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. What is the replacement for QStateMachine in Qt6?
Forum Update on Monday, May 27th 2025

What is the replacement for QStateMachine in Qt6?

Scheduled Pinned Locked Moved Unsolved Qt 6
4 Posts 3 Posters 791 Views
  • 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.
  • D Offline
    D Offline
    Dmitry.Sokolov
    wrote on 2 Mar 2021, 17:48 last edited by
    #1

    It looks like QStateMachine was removed. What should I use instead?

    1 Reply Last reply
    0
    • C Online
      C Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 2 Mar 2021, 19:00 last edited by
      #2

      It was not removed just moved to another Qt lib: https://bugreports.qt.io/browse/QTBUG-80316 which was re-added in Qt6.1: https://wiki.qt.io/Qt_6.1.0_Modules

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      2
      • D Offline
        D Offline
        Dmitry.Sokolov
        wrote on 2 Mar 2021, 20:30 last edited by
        #3

        Thanks @Christian-Ehrlicher !

        But the super project qt5.git still points to

        Revision: 103c52661f468733b64747c847308b2c45449dce
        Author: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
        Date: 26.10.2019 3:02:16
        Message:
        Update dependencies on 'dev' in qt/qtscxml
        
        Change-Id: I80724349e7debeebc92d2fc764eb3242f2489280
        Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
        ----
        Modified: dependencies.yaml
        
        

        What does it mean? Not ready yet?

        Or from now I should use the package manager to get qtscxml?

        1 Reply Last reply
        0
        • M Offline
          M Offline
          MaxP69
          wrote on 17 Mar 2021, 06:56 last edited by MaxP69
          #4

          it seems 6.1 includes State Machines https://wiki.qt.io/New_Features_in_Qt_6.1

          1 Reply Last reply
          2

          • Login

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