How can i enable cache on qt webkit
I'm using webkit on qt platform, and I need to enable the cache function to use html5 apps that uses cache.manifest. But, I'm using the OfflineWebApplicationCacheEnabled method, but this is开发者_开发百科 not enough, its not working. Help me please.
You also need to set the path using QWebSettings::setOfflineWebApplicationCachePath (make sure the path exists, if necessary use some sensible subdirectory from QDesktopServices::storageLocation) and also the cache maximum size via QWebSettings::setOfflineWebApplicationCacheQuota.
精彩评论