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

Qt Quick apps crash when ComboBox is given a model

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 5.2.0
    • None
    • Ubuntu 13.10 64bit, Qt5.2, QtQuick 2.1, QtQuick Controls 1.1

    Description

      Qt Quick apps crash when a ComboxBox object is given a model.

      App crashes when ComboBox is declared like either

      ComboBox {
      width: 200
      model: [ "Banana", "Apple", "Coconut" ]
      }

      or

      ComboBox {
      width: 200
      model: ListModel {
      ListElement

      { text: "Banana"; color: "Yellow" }

      ListElement

      { text: "Apple"; color: "Green" }

      ListElement

      { text: "Coconut"; color: "Brown" }

      }
      }

      NOTE: It does not crash when ComboBox is declared like this

      ComboBox {
      width: 200
      }

      more details: http://qt-project.org/forums/viewthread/35888/

      Attachments

        Issue Links

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

          Activity

            People

              416365416c Alan Alpert
              lijo Lijo Antony
              Votes:
              13 Vote for this issue
              Watchers:
              23 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes