Javascript and C++ interaction
-
Hi all,
When using QTWebkit , I want to
- Call C++ functions from JavaScripts
- And call Javascript functions from C++
How can I do that ?
Many thanks
-
This is referred to as the "Webkit bridge":http://qt-project.org/doc/qt-4.8/qtwebkit-bridge.html
Have a look at the following "tutorial":http://qt-project.org/doc/qt-4.8/webkit-imageanalyzer.html
You can find the source project directly from QT Creator, go to Welcome -> examples and type bridge for in search box.