Recognise if URL is not reachable
Qt WebKit
2
Posts
2
Posters
2.1k
Views
1
Watching
-
Hi All,
I'm writing a Qt App that has a QWebView where i load at start up my main page. How can i understand if it doesn't respond? I didn't find any signal into QWebView class that permit it.
Thanks. -
You could check the bool supplied by "loadFinished":http://doc.qt.nokia.com/4.7/qwebview.html#loadFinished
This tells you if the load was successful. for more elaborate analysis you may use classes of the QNetwork.... group.