0

I made a web browser using qtwebkit. Site I want to enter without applying "http://atlas". This is subversion repository. I need username and password prompt. But , There is no direct authorization saying no authorization.

void WebBrowser::on_webView_loadStarted()
{
    ui->webView->load(ui->lineEdit->text());
}

Output

FireFox Browser wants this user login as follows,Why is not it the same?

AlexG
  • 5,649
  • 6
  • 26
  • 43
elif mutlu
  • 103
  • 1
  • 1
  • 8
  • Check: http://doc.qt.io/qt-4.8/qauthenticator.html – user2346536 Dec 06 '16 at 12:52
  • I thinks I understood your question. You are expecting to enter credentials onLoadStarted? It is your job to show this popup! When load finishes and based on http status code, you should show a credential popup instead of loading the page in your main area. Then reload using maybe QAuthenticator if it supports the type of authentication of your server. – user2346536 Dec 06 '16 at 16:08

0 Answers0