Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved QScxml Statemachine Doubts

    General and Desktop
    state machine scxml
    2
    2
    756
    Loading More Posts
    • 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.
    • S
      Shibu Jayasingh last edited by

      HI ,

      I am new to Qt,
      I am using Qt scxml approach for my state machine.

      And My Requirement is,

      I need to set my initial Child state conditionally

      Say like I am Having states S1, S2, S3

      S1 Substates - S11,S12,S13,S14
      S2 Substates - S21,S22,S23,S24

      I am able to transit in forward manner like as below
      Here I will set my initial state of S1 as S11
      S1-> S11,S12,S13,S14 ->S2->S21,S22,S23,S24

      But in reverse its not working if i do like this
      Here in reverse , i need to set initial sate of S1 as S14
      S11,S12,S13,S14 <-S1<-S2 <- S21,S22,S23,S24

      How to resolve this ?
      Whether Qt 5.7 will support this ?
      Is it a bug in Qt?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        The QtSCXML module being currently a technical preview, you should bring your questions to the interest mailing list. You'll find there QtSCXML's developers/maintainers. This forum is more user oriented and there's likely less people having already used that module here.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • First post
          Last post