Important: Please read the Qt Code of Conduct -

Multiple QWebEngine, keep the same session

  • I would like my QWebEngine to keep the same session data (cookie, etc.)

    I tried using the same QWebEngineProfile and setting it to my QWebEnginePage, but that doesn't seem to work.
    Is there example somewhere that I can refer to?

  • Solution found

    use this global variable for all your QWebEnginePage

    QWebEngineProfile *profile = QWebEngineProfile::defaultProfile();

Log in to reply