Below is psuedo code...am I doing something wrong - or is modelData reserved?
//This works. -- ~repeater.qml Item { Repeater { model: [ ["example"], ] delegate: Qt.createComponent("maybe_delegate.qml") } } -- maybe_delegate.qml Item { objectName: modelData[0] } //This does not? -- nondelegate.qml Item { id: nondelegate Component.onCompleted: { Qt.createComponent("maybe_delegate.qml").createObject(nondelegate,{ modelData: ["example1"]}); } }
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest