Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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