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

QML puppet/Qt Designer emulation layer crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical 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

       

      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.

        1. Crash.zip
          5 kB
          David Hess
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes