Please install a callbacks to be triggered when a page requires an authentication and display a dialog to enter credentials.
Below is a code snippet which could simplify implementation:
connect(QWebView::page()->networkAccessManager(), SIGNAL(authenticationRequired(QNetworkReply,QAuthenticator)),
this, SLOT(handleAuthenticationRequired(QNetworkReply,QAuthenticator)));
Please install a callbacks to be triggered when a page requires an authentication and display a dialog to enter credentials. Below is a code snippet which could simplify implementation: connect(QWebView::page()->networkAccessManager(), SIGNAL(authenticationRequired(QNetworkReply,QAuthenticator)), this, SLOT(handleAuthenticationRequired(QNetworkReply,QAuthenticator)));