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

QML puppet/Qt Designer emulation layer crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Duplicate
    • Affects Version/s: Qt Creator 4.5.1
    • Fix Version/s: None
    • Component/s: Quick Designer
    • Labels:
      None
    • Environment:
      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

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

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes