Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. addToJavaScriptWindowObject with Qt 5.5

addToJavaScriptWindowObject with Qt 5.5

Scheduled Pinned Locked Moved QtWebEngine
5.5webenginejavascriptbridge
1 Posts 1 Posters 1.5k Views
  • 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.
  • C Offline
    C Offline
    Clem
    wrote on 6 Jul 2015, 11:21 last edited by
    #1

    Hi everyone,

    Here is my first post : one topic, but four questions :)

    I would like to access C++ Objects methods from javascript code ; in Qt 5.4 using QtWebKit I could just run the addToJavaScriptWindowObject method and everything was fine.

    I looked for an equivalent in QtWebEngine and found nothing, but somehow I believed this could be fixed with the release of Qt 5.5. Was I wrong ? (1)

    Do I really have to deal with QWebSockets to perform such a meaningless operation ? (2)

    Is this something that is likely to change in future releases ? (3)

    I think I read that the addToJavaScriptWindowObject method could not be transposed into QtWebEngine because everything was asynchronous with Chromium ; but if that is true, how is it possible to implement signals like javaScriptConsoleMessage ? (4)

    Thanks for any reply :)

    Looking forward to hearing from you,

    All the best,

    Clem

    1 Reply Last reply
    0

    1/1

    6 Jul 2015, 11:21

    • Login

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