I am trying to find a way to detect whether an url is an invalid url for a webview
For example, if I do
myWebView->setUrl(QUrl("http://www.youtube.com")); //then the webview will change to that page, but if I do...
myWebView->setUrl(QUrl("youtube.com")); //it will not change, because it considers it an invalid url.
Is there some kind of signal, or some sort of property that I can use to detect that?