I still don't understand why the above doesn't work. I was able to work around it however, by first loading the URL into the main frame of a QWebPage, and then connecting the sslErrors signal from the QWebPage::networkAccessManager() to the same sslErrorHandler defined above. Then I set the page using QWebView::setPage. With this, the page loads successfully even though the certificate is self signed.