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

Regression: QML list models with custom object properties cannot be instantiated

    XMLWordPrintable

Details

    • cfd5a1fb4ed1c51c3dadab0c63820c625992069d (qtdeclarative)

    Description

      This is a regression against 5.2.x and also since the alpha. The following simple test-case is not instantiable:

      import QtQml.Models 2.1
      import QtQml 2.0
      ListModel {
          property var foo: QtObject {}
      }
      

      Attachments

        For Gerrit Dashboard: QTBUG-37795
        # Subject Branch Project Status CR V

        Activity

          People

            shausman Simon Hausmann
            shausman Simon Hausmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes