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. C++ from WebView
Forum Updated to NodeBB v4.3 + New Features

C++ from WebView

Scheduled Pinned Locked Moved Solved QtWebEngine
5 Posts 2 Posters 2.0k 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.
  • Y Offline
    Y Offline
    yagabey
    wrote on last edited by
    #1

    Is there any way to call c++ functions from QtWebView?

    raven-worxR 1 Reply Last reply
    0
    • Y yagabey

      Is there any way to call c++ functions from QtWebView?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @yagabey
      not directly.
      Is the QtWebView displaying content you've created? If so you can use web-sockets to communicate with your code.
      The problem here is that the QtWebView module displays the systems browsers (on mobile devices).

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      Y 1 Reply Last reply
      2
      • raven-worxR raven-worx

        @yagabey
        not directly.
        Is the QtWebView displaying content you've created? If so you can use web-sockets to communicate with your code.
        The problem here is that the QtWebView module displays the systems browsers (on mobile devices).

        Y Offline
        Y Offline
        yagabey
        wrote on last edited by yagabey
        #3

        @raven-worx said in C++ from WebView:

        web-sockets

        Yes, i've created the content on QtWebView. I need to use google maps api and get click events on markers to c++ side.

        Actually QWebEngineView does the job; but i also need the code to work on android. So QtWebView looks like the only alternative.

        Is there any example for using web-sockets to communicate with the code?

        raven-worxR 1 Reply Last reply
        0
        • Y yagabey

          @raven-worx said in C++ from WebView:

          web-sockets

          Yes, i've created the content on QtWebView. I need to use google maps api and get click events on markers to c++ side.

          Actually QWebEngineView does the job; but i also need the code to work on android. So QtWebView looks like the only alternative.

          Is there any example for using web-sockets to communicate with the code?

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          @yagabey said in C++ from WebView:

          Is there any example for using web-sockets to communicate with the code?

          sure ;)
          see here.

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          3
          • Y Offline
            Y Offline
            yagabey
            wrote on last edited by
            #5

            Oh..Thanks :)

            1 Reply Last reply
            1

            • Login

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