Hi, I saw your bug report. I encountered the same problem last week and I
found a workaround by passing the properties that belong to another object
one by one to JSon object. For example,

setSource("qrc:/LoaderItem.qml", { "color": theGame.player.color })

But in my case there was only one property. So instead of passing the
object, passing the property was easy. But for more complicated situations
that would be a pain...

Sina

----
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to