0

I use Qt Webengine to load a webpage. This page contains also links to the jQuery library and css in header tag. So far. While loading the page, the network breaks (the network interface is losing link). The html-Page was loaded but some parts of jQuery and css had not loaded completely. In DevMode console, this files exists, but contains only a small part of the correct content. There is no loading error. Instead of fireing 'LoadFailedStatus', webengineview fires 'LoadSucceededStatus' (dom was loaded) and the page will be shown lacking some formatting and crash whithin methods. Is there a way to check if all content has been loaded completely or is there a way to detect a network break after loading DOM?

elaf
  • 11
  • 2
  • Use [onload](https://stackoverflow.com/a/4842622/6160662) if it didn't fire would mean something's wrong – Viney Jun 15 '20 at 16:41

0 Answers0