How to cache username/password in QWebView

  • I write some HTML code using iframe to load a website in QWebView widget, and the website requires sign in by inputting username and password. The problem is that I have to sign in every time. Is there any solution to cache the account information?
    Like some browsers, it will ask whether to save username and password when a form containing account information is submitted.

  • Seems that using a global QNetworkAccessManager can resolve this problem.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.