On Wednesday 16 October 2013, equals...@gmx.com wrote:
>
> Perhaps my assumption that Qt would convert the array to QVariant is
> wrong() - that was my understanding from the docs - I'm not using any
> JS types other than arrays/objects/doubles/strings/bool. Qt versions here
> are 5.1.0 and 5.1.1
Hi,
I'm exposing an object and its methods to the javascript engine inside
QtWebkit using QWebFrame::addToJavaScriptWindowObject(). Since I wanted
to be able to pass most standard Javascript objects to a method I
declared its argument as a QVariant. But this does not seem to work for
arrays, inste