[webkit-qt] API proposal for handling (some) hybrid use cases
loic.yhuel_ext at softathome.com
Tue Oct 11 15:32:27 PDT 2011
How would you wrap a QObject* (so it's signals could be invoked,
properties accessed) ?
Dynamically constructing wrapper functions, and sending them as JSON
would be complex, and probably slow.
Le mercredi 12 octobre 2011 00:08:20, noam.rosenthal at nokia.com a écrit :
> I was thinking that you can stringify/parse JSON on either side. Those convenience converters are nice sugar, but can be done without.
> From: ext Loïc Yhuel [loic.yhuel_ext at softathome.com]
> Sent: Tuesday, October 11, 2011 3:05 PM
> To: Rosenthal Noam (Nokia-CTO-Qt/SiliconValley)
> Cc: caio.oliveira at openbossa.org; webkit-qt at lists.webkit.org
> Subject: Re: [webkit-qt] API proposal for handling (some) hybrid use cases
> I see your examples and prototype code are always using a string as
> message argument.
> Is it possible to use a QVariant like with the QtWebKit bridge ?
> If I understand correctly, it won't be possible to implement synchronous
> JS -> C++ calls like Q_INVOKABLE methods.
More information about the webkit-qt