In my Qt app, I need to save cookies between different runs of the program.
I read that QNetworkCookieJar doesn't, for some reason, support permanent cookie storage; the manual tells me that I should basically do this myself.
I realize that writing a simple class like that isn't very hard, but this seems like a reinvention of the wheel of the worst degree, as surely somebody must've needed this before.
So my question basically is why doesn't Qt add permanent storage support to the default implementation? And is there a QNetworkCookieJar class somewhere on the internet that has permanent cookie support?
The browser in Qt Demos implements persistent storage with other fancy options (preference dialog, white list, black list, timer to save the cookies, ...).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With