Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.1
-
None
-
3ebbb660d6f0c29b438f49dc8187b1b353ee1b8a
Description
The docs for QML variant type (http://doc.qt.nokia.com/4.7-snapshot/qml-variant.html) says: "The variant type can also hold a copy of a JavaScript object. For example, the animal property below defines a JavaScript object defined with JSON notation".
The animal property below is:
property variant animal :
{ 'type': 'bird', 'species': 'galah', 'age': 7 }However, the result of this expression is undefined. Is this a QML or documentation bug?