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

QQmlPropertyMap.insert() fails when QQmlPropertyMap was instantiated from QML

    XMLWordPrintable

Details

    Description

      Instantiating QQmlPropertyMap from C++ and calling the insert() method works well.
      Instantiating QQmlPropertyMap from QML (after having registered the type) and calling the insert() method fails and only the key of the inserted property is inserted, not the value.

      Please see the attached minimal test program that illustrates the difference:
      bugQQmlPropertyMap.zip

      Attachments

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

        Activity

          People

            shausman Simon Hausmann
            kaleo Florian Boucault
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes