How to set cache drive on netork for QWebView cache



  • I am using QWebView to display my web content , I wanted to setup cache capability for my webview for that I wanted to set cache drive , but I dont have enough memory available at my client side, how can I give some folder location located at my server.



  • I discovered this recently when trying to use QWebSettings() methods to relocate local clientside paths, but found they did not have any effect on browser cache location.

    QtWebKit sets shared and cached data paths using QDesktopServices() storage methods, which for QWS can be overridden by env vars QWS_DATA_HOME and QWS_CACHE_HOME.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.