QWebPage LocalStorage Problem.
Unsolved
General and Desktop
-
I found that different QWebPage instance share the same LocalStorage (in disk).
no mater how I change the LocalStorage Path, QWebPages are always share the same LocalStorage data.
Is it possible to make different QWebPage use individual LocalStorage, Thanks.
webview->settings()->setAttribute(QWebSettings::LocalStorageEnabled, true);
webview->settings()->setLocalStoragePath("Path to /foo/bar/");
OR
m_webview->settings()->enablePersistentStorage("Path to /foo/bar/");Can set and enable LocalStorage, But Can not change it's path.