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

QML's map basic type not documented

XMLWordPrintable

    • 2d4d125313d79fb80f513952bed675b7126392fd

      It's possible to define a map in QML like this

      property variant theMap: { "key1":"value1", "key2":"value2", "key3":"value3" }
      

      and access the values like this

      theMap["key1"]

      which returns "value1" as expected.

      But this type is not listed here
      http://doc.qt.nokia.com/4.7-snapshot/qdeclarativebasictypes.html

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

            bealam Bea Lam (closed Nokia identity) (Inactive)
            mathiasm Mathias Malmqvist
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes