i using QVewView to display html generated by programm (QWebView::setHtml()).
but this html contains some graphics (jpg,gif,etc) from network, and i want to cache it.
as i undersund, i need to use QNetworkAccessManager (QWebView::page()::networkAccessManager()) method setCache().
the simplest method i see - to use QNetworkDiskCache, but it don't work =(
to test app i set proxy for QNetworkAccessManager, and i see internet connections every time, applicationn start.
what to do?
i tryed to create my own Cacher (from QAbstractNetworkCacher), but i didn't understand how it works.
i'm sorry for my mind, but it will be very nice to get scheme of connections between QNetworkAccessManager and QAbstractNetworkCache, and some more information about QNetworkCacheMetaData.