It seems demobrowser can not use web application cache when it restarts.
It seems demobrowser can not use web application cache when it restarts.
I've got the offline storage working after I made:
webView->settings()->setAttribute(QWebSettings::LocalStorageEnabled, true);
webView->settings()->enablePersistentStorage(QDir::homePath());
Other settings (setOfflineStorageDefaultQuota e.t.c.) seem to be optional.
(one may want to change homePath to something better)
Hi,
I am trying to enable application cache(offline webstorage) by just with the following api settings()->enablePersistentStorage("C:\\dd\\");
With this api,I should see LocalStorage and ApplicationStorage folders in C:\dd .But I am seeing only LocalStorage folder in the C:\dd.
I have even tried with the below code
settings()->enablePersistentStorage("C:\\dd\\");
settings()->setOfflineWebApplicationCachePath("C:\\dd\\AppCac he");
I dont see any AppCache folder in C:\dd directory
Can anyone help me what has gone wrong ...
Bookmarks