Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. How to handle network errors
Forum Update on Monday, May 27th 2025

How to handle network errors

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 461 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    elaf
    wrote on 26 Mar 2019, 14:06 last edited by
    #1

    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?

    1 Reply Last reply
    0

    1/1

    26 Mar 2019, 14:06

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved