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

Add a new QJSValueMap type supported by QML

    XMLWordPrintable

Details

    Description

      Hi,

      QJSvalueList is supported transparently when returning value from c++ to qml.

      It would be nice to have an equivalent QMap one.

      QVariantmap is inefficient, calling qjengine::newObject too often is boilerplate.

      Having an equivalent QMap<QJSValue,QJSValue> where  QJSValue holds a primitive would be nice.

      Attachments

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              reg31 Regis Duflaut
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes