On 12/05/2012 02:36 PM, Jocelyn Turcotte wrote:
If all you want is to save cookies, there is now a default implementation for the cookie jar that automatically saves the cookies in an sqlite database in QStandardPaths::writableLocation(QStandardPaths::DataLocation). The path for me on Linux is ~/.local/share/[Org]/[App]/.QtWebKit/cookies.db.
What I need is the possibility of specifying a different cookie location per WebView. I see that WebContext has a setCookieStorageDirectory() method, but it's not exposed in the qt API (nor any of the other APIs, except the C one). Having that exposed in the QML WebView component would actually fulfil my needs. There's also a WebCookieManagerProxy class which sounds interesting, but I didn't understand what it is exactly.
I wonder if there's a chance for a "cookieStorageDirectory" property appearing in the WebView element, or is it too late for Qt5?
Ciao, Alberto _______________________________________________ webkit-qt mailing list webkit-qt@lists.webkit.org http://lists.webkit.org/mailman/listinfo/webkit-qt