[Interest] QtWebKit bridge wont convert JS Arrays to QVariant

Allan Sandfeld Jensen kde at carewolf.com
Wed Oct 16 20:43:11 CEST 2013


On Wednesday 16 October 2013, equalsraf at 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 on Linux.
> 
A JS Array should be converted to a QVariantList and then embedded in a 
QVariant. I would have to take a closer look to tell why it wouldn't work in 
this case.

`Allan



More information about the Interest mailing list