Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
4.7.0
-
None
Description
The following prints "myItems is Image"
import Qt 4.7 Rectangle { width: 100; height: 100 property variant myItems myItems: [ Item {}, Rectangle {}, Image {} ] Component.onCompleted: console.log("myItems is " + myItems) }
Instead, myItems should be a variant wrapping a QObjectList, or something similar.