[Interest] How can I set proxy settings and QNetworkCookieJar with QWebEngine
NoRulez
norulez at me.com
Mon Feb 22 10:56:04 CET 2016
> Could you elaborate?
In the Qt 5.5 examples there are a CookieJar example with QWebEngine. But in the Qt 5.6 beta this example and functions are removed. See for example: http://doc.qt.io/qt-5/qtwebenginewidgets-browser-cookiejar-cpp.html
Best regards
> Am 22.02.2016 um 07:33 schrieb Koehne Kai <Kai.Koehne at theqtcompany.com>:
>
>
>
>> -----Original Message-----
>> From: Interest [mailto:interest-
>> bounces+kai.koehne=theqtcompany.com at qt-project.org] On Behalf Of
>> NoRulez
>> Sent: Sunday, February 21, 2016 4:14 AM
>> To: QtWebEngine MailingList <qtwebengine at qt-project.org>; Qt Project
>> MailingList <interest at qt-project.org>
>> Subject: [Interest] How can I set proxy settings and QNetworkCookieJar with
>> QWebEngine
>>
>> Hello,
>>
>> first, I know that I can't use QNetworkCookieJar with QWebEngine, but what
>> are the new alternatives to set the CookieJar and Proxy settings with
>> QWebEngine?
>
> Qt 5.6 will feature a QWebEngineCookieStore: https://doc-snapshots.qt.io/qt5-5.6/qwebenginecookiestore.html
>
> If QNetworkProxy::applicationProxy is set, it will also be used for Qt WebEngine. Otherwise, Qt WebEngine automatically picks up the proxy configuration from OS X and Windows.
>
>> Users which saved cookies with CookieJar (ini file) from QWebKit, how can
>> these load an save those with QWebEngine?
>
> I guess you can do this manually with the API in QWebEngineCookieStore.
>
>> It was possible with Qt5.5 but now with Qt5.6 beta it isn't!
>
> Could you elaborate?
>
> Regards
>
> Kai
More information about the Interest
mailing list