Javascript and C++ interaction
-
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.