My current project is a game engine that uses QML for the UI and QtScript for game scripting (video at http://www.youtube.com/watch?v=SG5p-qLARrw ). At any rate, while it's possible to call functions on QML elements from QtScript, when I try to pass an object to that function (even a QDeclarativeItem), it gets mangled into a QVariantMap (as opposed to a reference to the actual object that I passed, which is what I need). Why is this? Is there any way I can stop it from happening and pass the object as a reference?
-- --
_______________________________________________ Qt-qml mailing list Qt-qml@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-qml