Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-19911

QML puppet/Qt Designer emulation layer crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • Qt Creator 4.5.1
    • Quick Designer
    • None
    • Qt 5.10.1 commercial license.

      Qt Creator 4.5.1.

      Using "Use QML emulation layer that is built with the selected Qt" setting.

      MacOS 10.13.3

       

    Description

      If an aliased property's public name happens to match (case-insensitive) with a .qml component in the search path the puppet tries to read the component for some reasonĀ and promptly crashes.

      Really hard to explain but I've attached an example project that causes the crash when you open Example.qml in Design mode. If you:

      1. Change the property alias public part in ExampleUI.ui.qml to something other than "test" it doesn't crash.
      2. If you change the name of the Test.qml file to something else it doesn't crash.

      If they match (case-insensitive), it crashes.

      Attachments

        Issue Links

          Activity

            People

              thohartm Thomas Hartmann
              dhess David Hess
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: