QML var (array type) property initialization with QML objects
Unsolved
QML and Qt Quick
-
I'm using Qt 5.5.1
I can't seem to initialize a property with an array type with QML objects.Here are some statements:
//your code here
property MyQML myQML: MyQML {} // works property var myint: [3, 5] // works property var myQMLArray: [MyQML {}, MyQML {}] // doesn't work
This behavior seems weird to me. Is this how it is supposed to be? Or am I missing something?