Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-57808

Application crashes with QStates declared inside class

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Invalid
    • Affects Version/s: 5.7.1
    • Fix Version/s: None
    • Component/s: Core: State Machine
    • Labels:
      None
    • Environment:
      Based on Qt 5.7.1 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 64 bit)

      Built on Dec 9 2016 12:18:01

      From revision 5071dd80cb

      Description

      I was taking a look at this example which uses the State Machine framework and I've realized that the QStates have been declared outside the class (in the implementation file). According the author this is necessary because:

      The weird bug seems to affect all platforms with Qt 4.6.3

      Why does it happen?

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            magnum Carlos R.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes