Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to cache username/password in QWebView
Forum Update on Monday, May 27th 2025

How to cache username/password in QWebView

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 459 Views
  • 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.
  • xiazeyiX Offline
    xiazeyiX Offline
    xiazeyi
    wrote on last edited by
    #1

    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
    0
    • xiazeyiX Offline
      xiazeyiX Offline
      xiazeyi
      wrote on last edited by
      #2

      Seems that using a global QNetworkAccessManager can resolve this problem.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved