Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
4.7.2, 5.0.0
-
None
-
Archlinux 64bit, Kernel 2.6.37, Qt-4.7.2
Description
The example ist selfexplanatory:
$ qmlviewer Test.qml
{"name":"example","list":{"objectName":"","count":2}}
QDeclarativeView only supports loading of root objects that derive from QGraphicsObject (This second line is logic and does not matter. I wanted the example to be as small es possible.)
The output I expected should look like this:
$ qmlviewer Test.qml
{"name":"example","list":[
,
{"doesnt":"work"}]}
This is in my opinion definitely a bug in the implementation of the get() method. It could possibly be resolved by importing QtQuick 1.0 or QtQuick 1.1 instead of Qt 4.7. But I cannot try this because of another but probably unrelated problem.
I hope this bugreport is useful. And for my purposes working arrays would be really nice. QML is really nice work. Thanks for your work!
Greetings