[Interest] qtwebbroser questions

Hamish Moffatt hamish at risingsoftware.com
Tue Apr 12 10:36:10 CEST 2022

On 11/4/22 22:52, Alexander Carôt wrote:
> Thus, I decided to continue using the minibrowser code which already is Qt6 ready and worked out fine for me so far. However, here I have the problem that it does not store cookies. I did some research and found e.g.
> https://stackoverflow.com/questions/19069680/can-you-use-qwebview-cookies-sessions-with-qnetworkaccessmanager
> which explains how to set cookies for QWebView but the problem with the example code is that QWebView is implemented via QML so the question is how to enable cookies this way.

Do you just need to set the persistent cookie policy in QWebEngineProfile?


More information about the Interest mailing list