C++ from WebView
Moved
Solved
QtWebEngine
-
@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). -
@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?
-
@yagabey said in C++ from WebView:
Is there any example for using web-sockets to communicate with the code?
sure ;)
see here.