[webkit-qt] JSFunction as parameter in slot?
Benjamin Poulain
benjamin.poulain at nokia.com
Fri Jan 7 06:54:39 PST 2011
On 12/27/2010 10:23 AM, ext sunny shah wrote:
> Somebody replied over here
> http://stackoverflow.com/questions/4532924/jsfunction-as-parameter-in-qt-slot
> like this.
>
> "Unfortunately, it's impossible to do this in a cleaner way in QtWebKit,
> at this point. There's been some effort to add full JavaScript <-> C++
> bindings to QtWebKit, on top of QtScript, but I'm not sure what the
> progress on that is."
>
> do you think that It is true?
Yes it is.
What developers usually do to invoke javascript function from C++ is to
use connection between a Qt signal a C++ function.
There was a similar question on the mailing list not so long ago. I
suggest you to read that thread.
cheers,
Benjamin
More information about the webkit-qt
mailing list