Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Javascript and C++ interaction
Forum Updated to NodeBB v4.3 + New Features

Javascript and C++ interaction

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 2 Posters 3.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wejgomi
    wrote on last edited by
    #1

    Hi all,

    When using QTWebkit , I want to

    1. Call C++ functions from JavaScripts
    2. And call Javascript functions from C++

    How can I do that ?

    Many thanks

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JapieKrekel
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved