Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
webnineview v.s. webview
Eric Ruei last edited by
We have a very simple QT program which just loads a web page and most of time the local webpage.
QWebView *view; //use qtWebkit
/WebEngineView *view; //use qtWebengine
view = new QWebView(this); view->load(url); setCentralWidget(view);
view = new QWebengineView(this); view->load(url); setCentralWidget(view);
where the uurl=http://localhost:80
This simple browser program works for years (from Qt5.5 to QT5.9)
The one based on qtWebkit still works at QT5.11.3, but the one based on qtWebengine stops working such that there is no page displayed.
The qtwebengine-based full browser example such as simple browser and qtwebbrowser still works although both of them requires some security- related dialog "Proceed with Caution" for the local page. I wonder whether the problem is related to some kind of security enhancement per Chromium.
Any suggestions will be highly appreciated!
JonB last edited by JonB
QWebengineViewhas a bunch of
Finishedsignals. See if they are telling you anything?
QWebEngineView::load(const QWebEngineHttpRequest &request)overload would allow you to examine any request/response issues?