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

Details

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes