Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Solved How to cache username/password in QWebView

    General and Desktop
    1
    2
    347
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • xiazeyi
      xiazeyi last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • xiazeyi
        xiazeyi last edited by

        Seems that using a global QNetworkAccessManager can resolve this problem.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post