Important: Please read the Qt Code of Conduct -

Accessing local storage on a web page

  • I am using WebEngineView. The program is very simple, it's just the example from the Qt website. Now I want to access the local storage of a website. How do I do that? From my endless search, it seems I cannot do that.

  • I figured out a way. I just call a Javascript on the WebEngineView to localStorage.setItem(), and that is it! :~)

Log in to reply