QML WebView counter-part for C++/Qt Widgets? (i.e. use native browser)
As I know, QML WebView component uses a native browser/API for each platform so no need to bundle webkit or chromium to your app... Is there a similar component in C++/Qt Widgets world?
You can use the QQuickWidget to embed your QNL code.
Just in case, QtWebView has support for native browser API where it's available, otherwise it uses QtWebEngine where possible.
QWebView has support for native browser API where it's available
QWebView seems completely removed in Qt 5.10.
No, the QtWebView module is very much alive.
Does it use native browsers for desktop platforms? i.e. webkit on Mac and MSHTML (IE) on Windows?
For macOS it depends.
For Windows, unless it's WinRT, no, it uses QtWebEngine. AFAIK, Windows as no system web view.
Btw, I meant QWebView (C++ Qt Widgets component) not QtWebView (QML component) - is this still available (and supported)? And is this the thin wrapper on top of platform browsers on desktop?
QWebView is a class from either QtWebKit or the QtWebView module. Which one do you mean exactly ?
Do you mean the one from WebKIT ?
WebKit has been removed but still alive from external party.
zura last edited by zura
To get to the original question - I'm interested if there is a web view component in Qt (preferable on C++/Widgets side) that uses native browsers for each desktop platform (Mac and Win at the moment, not winrt) - so there is no need to bundle webkit or chromium.
wxWidgets has wxWebView: http://docs.wxwidgets.org/3.0/classwx_web_view.html
Not as far as i know.
You can use the MS ActiveX if you want (MSHTML)
and other techs on the other platforms.