WebKit qt javascript binding
Hello, I would like to know how to make Qt class visible in javascript in WebKit. I would like to write C++ class using Qt and bind it to WebKit JavaScript Engine and use it in HTML javascript code. Could anyone please give me a hint! Thanx, Rikardo -- View this message in context: http://www.nabble.com/WebKit-qt-javascript-binding-tf4224832.html#a12018328 Sent from the Webkit mailing list archive at Nabble.com.
Rikardo, Although I don't work on the Qt code, I would recommend that you look at the implementation of DumpRenderTree for Qt. That component, which performs the layout tests, binds Qt code to the javascript engine. I believe the code resides under: WebKitTools/DumpRenderTree/DumpRenderTree.qtproj Cheers David On 8/6/07, Rikardo Tinauer <rikardo.tinauer@eba.si> wrote:
Hello,
I would like to know how to make Qt class visible in javascript in WebKit. I would like to write C++ class using Qt and bind it to WebKit JavaScript Engine and use it in HTML javascript code.
Could anyone please give me a hint!
Thanx, Rikardo
-- View this message in context: http://www.nabble.com/WebKit-qt-javascript-binding-tf4224832.html#a12018328 Sent from the Webkit mailing list archive at Nabble.com.
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-dev
I have one more question. Is it possible to to connect signal of binding class (c/c++ qt) with javascript. So I could call javascript callback on some event/singal. Thanx, Rikardo -- View this message in context: http://www.nabble.com/WebKit-qt-javascript-binding-tf4224832.html#a12047690 Sent from the Webkit mailing list archive at Nabble.com.
participants (2)
-
David Carson
-
Rikardo Tinauer