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
Qt 6.11 is out! See what's new in the release blog

How to handle network errors

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 674 Views 1 Watching
  • 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 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

    • Login

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