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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 5.7.1
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: