I am new to Qt and currently I am doing some stuff on this topic: http://doc.qt.io/archives/qt-4.7/qtwebkit-bridge.html
What I am trying to do is:
create a JS object that maps to a C++ class with many properties and functions.
this C++ class could return any JS data types to JS environment.
this C++ class could accept any JS data types parameters from JS environment.
But I have no idea how to start, so I am wondering are there any full examples.