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

QmlContext::addDefaultObject does not work for custom list properties

    XMLWordPrintable

Details

    • 5f1d7d1e73edd1c2ff3e1ad244100fdbc3495458

    Description

      At 2133c9c454b8a648aad2a1993b3e239ceeeca03b the minehunt demo would not work properly. This is due to QmlContext::addDefaultObject no longer properly exposing the tiles property (which it did at 3732fb8ac1ef79b47a4e8df9c37154618a1adc5e).

      There is currently a workaround where tiles is explicitly exposed with QmlContext::setContextProperty, which works. Note that the other properties of the object are still exposed fine using just addDefaultObject.

      Attachments

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

        Activity

          People

            aakenned Aaron Kennedy
            aalpert-nokia Alan Alpert (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes