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

QML Emulation Layer crashes if ComboBox with model present

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 4.6.1
    • Qt Creator 4.5.2, Qt Creator 4.6.0-rc1
    • Quick Designer
    • None
    • Windows 10 64-bit

      Qt 5.10.1

      Qt Creator 4.5.2, 4.6.0-rc1

    Description

      If a window contains ComboBox with a simple model, QML emulation immediately crashes. For example, this causes the crash:

      import QtQuick 2.10
      import QtQuick.Controls 2.3
      import QtQuick.Window 2.3
      
      Window {
          visible: true
          width: 640
          height: 480
          title: qsTr("Hello World")
      
          ComboBox {
              id: comboBox
              x: 46
              y: 45
              model: ["1", "2"]
          }
      }
      
      

      Removing the ComboBox model solves the crash. Please find the sample project attached.

      Attachments

        1. combocrash.gif
          combocrash.gif
          215 kB
        2. TestComboCrash.zip
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thohartm Thomas Hartmann
            r0ll1ngst0ne Michael Kostukov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes