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

QState addTransition doesn't work in c++/clr environment

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P3: Somewhat important
    • Resolution: Out of scope
    • 5.7.1
    • None
    • Core: State Machine
    • None
    • MSVC2015
      MSVC2013

    Description

      Because of using dll, I changed Common Language Runtime Support in my QT project into Common Language Runtime Support (/clr).

      i used: stateExploring->addTransition(ui.startExperiment, &QPushButton::clicked, stateRunning); to change from state "stateExploring" into "stateRunning" when button is clicked, it seems that this function doesn't work.

      I tried connect a slot for button event function, it worked well ( it shows message box when button clicked)

      for debugging, I changed into No Common language support, this function worked well.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            quangabcd quangabcd
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes