S
S
smith9222016-06-22 21:42:49
Qt
smith922, 2016-06-22 21:42:49

How to get error code from QWebEngineView?

The application uses the QWebEngineView object to display web pages. To check if the page loaded successfully, I handle the loadFinished(bool) signal. If false is passed in the signal, you need to find out the reason for the failure. Is there a way to get some kind of error code? (for example, chromium DNS_PROBE_FINISHED_NXDOMAIN, ERR_INTERNET_DISCONNECTED, etc.)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question