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

QQmlPropertyMap as a context object of a QQmlExpression's context hides parent context

XMLWordPrintable

      When using a QQmlPropertyMap as the contextObject of a QQmlExpression's context, you can't access properties from its ancestor contexts.

      The behavior slightly changed since 5.12 (now you can't do console.log anymore) but not for the best.

      Attached is a small self contained example.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            grecko Pierre-Yves Siret
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes