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

example not running on http://doc.qt.nokia.com/4.7-snapshot/qdeclarativemodels.html#accessing-views-and-models-from-delegates

XMLWordPrintable

      The example throws errors when running.

       
      file:///C:/Users/sukkim/Examples/datamodel/datamodel.qml:26: TypeError: Result of expression 'ListView.view' [null] is not an object.
      file:///C:/Users/sukkim/Examples/datamodel/datamodel.qml:28: TypeError: Result of expression 'ListView.view' [null] is not an object.
      

      The attached property ListView.view is addressed incorrectly.
      Usage is wrong in the docs.

      On the related note, examples/tutorials/gettingStarted/gsQml which is used as "Getting Started Programming with QML" throws erros, too.

      All of them are related to accessing views and models from delegates.

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

            denexter Andrew den Exter (closed Nokia identity) (Inactive)
            sukkim sukhyun kim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes