[Qtwebengine] Sharing data between QWebEngineProfiles

Florian Bruhin me at the-compiler.org
Thu Aug 20 11:21:18 CEST 2015


Hi,

I (from qutebrowser[1]) and Emdek (from Otter Browser[2]) discussed
what's still missing for us from QtWebEngine, and one point which came
up and wasn't discussed already is sharing data between multiple
QWebEngineProfiles.

Our use-case is to have per-domain and possibly per-tab settings, e.g.
the user want to configure the user-agent differently based on the
page they're visiting.

This means you'll end up with having a new QWebEngineProfile for every
tab - however, that also means every tab will have its own persistent
storage, cookie store, and cache - right?

Is it possible/planned to share data between QWebEngineProfiles so one
can implement this kind of thing?

I guess one possibility is to use the same storageName for all of them
- but will that work?

Florian

[1] http://www.qutebrowser.org/
[2] http://www.otter-browser.org/

-- 
http://www.the-compiler.org | me at 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/qtwebengine/attachments/20150820/d9594b83/attachment.sig>


More information about the QtWebEngine mailing list