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

PathView doesn't show any items if the model is populated after it has been set in the QDeclarativeContext

    XMLWordPrintable

Details

    • 35db70bf1c046f880861bbf4f48b8741ced405c4

    Description

      Please find the attached file which contains example code to demonstrate the issue.

      Failing scenario:
      1. I create an instance of MyModel
      2. I create my DeclarativeView and add the model to the context
      3. I populate my model with items

      Working scenario:
      1. I create an instance of MyModel
      2. I populate my model with items
      3. I create my DeclarativeView and add the model to the context.

      What's interesting is that both scenarios works with ListView (which the demo shows).

      Attachments

        1. pathview.tar.gz
          2 kB
          Mario Boikov
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            brasser Michael Brasser (closed Nokia identity) (Inactive)
            mario Mario Boikov
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes