Qt World Summit: Register Today!

Webengine Cookie SameSite=None warning

  • Earlier this post was categorized under QML & Qt Quick. I brought it here

    I keep receiving the following warning on QtWebEngine calls in QML. How do I resolve this?

    js: A cookie associated with a resource at <URL> was set with `SameSite=None` but without `Secure`. 

    I read somewhere that a cookie header (HttpOnly;Secure;SameSite=Strict) needs to be set. How do I do it in WebEngineView?

    Here is my QML snippet

    WebEngineView {

Log in to reply