Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.

webnineview v.s. webview



  • Hi,

    We have a very simple QT program which just loads a web page and most of time the local webpage.

    QWebView *view;   //use qtWebkit
    

    or
    /WebEngineView *view; //use qtWebengine

    view = new QWebView(this);
    view->load(url);
    setCentralWidget(view);
    

    or

    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!

    Best regards,

    Eric



  • @Eric-Ruei
    QWebengineView has a bunch of loadStarted/Progress/Finished signals. See if they are telling you anything?
    Maybe QWebEngineView::load(const QWebEngineHttpRequest &request) overload would allow you to examine any request/response issues?


Log in to reply