4

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:

  1. create a JS object that maps to a C++ class with many properties and functions.

  2. this C++ class could return any JS data types to JS environment.

  3. 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.

Christophe Weis
  • 2,518
  • 4
  • 28
  • 32
Mickey Shine
  • 12,187
  • 25
  • 96
  • 148

1 Answers1

4

Check out this blogpost: http://labs.qt.nokia.com/2010/11/16/some-webkit-hybrid-stuff/

There are some explanations, and a complete example is linked.

tamasd
  • 5,747
  • 3
  • 25
  • 31