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

QtCreator / QtDesigner crashes after ActiveX is inserted and the ui file is saved

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Duplicate
    • Affects Version/s: 5.1.1
    • Fix Version/s: None
    • Component/s: ActiveX Support
    • Labels:
      None
    • Environment:
      MSVC2010/32, MinGW gcc 4.8 32bit, Windows Vista , Windows 8, Note: The CST controls are 32bit

      Description

      I created a new project and used the edit pane in QtCreator to insert an ActiveX from another company "CSTSoft" (http://www.cstsoft.com/ they are providing knob, graphs... for industrial applications and you can download a trial version).
      I open the ui file from QtCreator and define the AxWidget with the ActiveX is fine. I can compile and run the application.
      BUT once I closed the ui file, it is not possible to reopen it (>>QTCreator AppCrash) unless I remove the property containing the ActiveX ID opening the ui file with the text editor.
      Additionally I tried opening the saved ui file with QtDesigner instead of the edit pane in QtCreator and QtDesigner crashes too.
      I have tried it randomly with other ActiveX available in the AxWidget define property. Some of them work, I can reopen the ui file without crash. Others (from other manufacturer's than CSTSoft too) don't work. Could it be the ActiveX itself? (My knowledge of ActiveX is weak, I used to consider them as black boxes).

        Attachments

        1. Debug.docx
          414 kB
        2. gauge_activex.html
          0.4 kB
        3. gaugeax.ui
          0.8 kB
        4. meter_activex.html
          0.4 kB
        5. qtbug33711_qt4.stack
          8 kB
        6. qtbug33711_qt5.stack
          6 kB
        7. qtbug33711.zip
          6 kB

          Issue Links

          For Gerrit Dashboard: QTBUG-33711
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              markan Marko Kangas
              Reporter:
              f.desperrier Desperrier
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes