Important: Please read the Qt Code of Conduct -

How to handle network errors

  • I have an application using QtWebEngine on Linux. While I have an active connection to a webserver (e.g. a page is loading) my network interface gets a new ip and the webengine breaks with message net::ERR_NETWORK_CHANGED.

    Is there a way to handle this errors within qml or in Qt? Something like
    WebEngineView { onNetworkError:{ someErrorHandler( errorNumber ) } }?

    Or is there a way to handle this errors in QQmlApplicationEngine?

Log in to reply