<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><pre>Hi, it does work with Qt. But not work with PyQt. Both with version 5.8. Here is the test code.

#include <QtWebEngineWidgets>
#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    auto profile = QWebEngineProfile::defaultProfile();
    profile->setCachePath("chromium_cache");
    profile->setPersistentStoragePath("chromium_storage");
    profile->setPersistentCookiesPolicy(QWebEngineProfile::ForcePersistentCookies);

    QWebEngineView view;
    view.load(QUrl("https://github.com/"));
    view.show();

    return a.exec();
}</pre><br><br><br><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br><pre><br>At 2017-03-11 00:28:18, "Florian Bruhin" <me@the-compiler.org> wrote:
>* xiangxw5689 <xiangxw5689@126.com> [2017-03-11 00:25:50 +0800]:
>> Tested with Python 3.5 + PyQt 5.8.1
>> The pyqt test script is attached.
>> Sign in a website, close it, restart, the cookie(username and password) should be remembed.
>> Work with Qt but not with PyQt. Thanks.
>
>It works with both if you wait 30s and works with neither if you
>don't. See https://bugreports.qt.io/browse/QTBUG-58675
>
>Florian
>
>-- 
>http://www.the-compiler.org | me@the-compiler.org (Mail/XMPP)
>   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
>         I love long mails! | http://email.is-not-s.ms/
</pre></div>