Important: Please read the Qt Code of Conduct -

QWebView clear all cookies

  • Sorry for my many topics

    I have a code>networkAccessManager()->setCookieJar(0);@
    But this code disable all cookies

    If i try that
    @QList<QNetworkCookie> list;>networkAccessManager()->cookieJar()->setAllCookies(list);@

    I get error C2248: QNetworkCookieJar::setAllCookies: ­Ґў®§¬®¦­® ®Ўа вЁвмбп Є protected з«Ґ­, ®Ўкпў«Ґ­­®¬г ў Є« бᥠ"QNetworkCookieJar"

    How I can clear all cookies correctly?

  • I solved this question used>networkAccessManager()->setCookieJar(new QNetworkCookieJar());@

  • Also look at method @QWebSettings::clearMemoryCaches()@

Log in to reply