go-qml / qml

QML support for the Go language
Other
1.96k stars 187 forks source link

QVariantMap Support #47

Closed saward closed 10 years ago

saward commented 10 years ago

I tried to pass an object to a Go function like follows: game.createJob("walkto", false, {"x": tx, "y": ty})

However, the Go code fails to understand the passed object: panic: unsupported variant type: 8 (QVariantMap)

Posting issue here as per request. If I get around to implementing it myself, I'll post the code up. However, I think it is unlikely. I'll probably try to press forward working on my application.

niemeyer commented 10 years ago

This was just fixed by fda6e9c.