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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes