Qt使用QWebEngineView、QWebChannel和网页做交互时,清除网页缓存

QString dataLocal = QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation);
QDir cacheDir(dataLocal );
cacheDir.removeRecursively();

你可能感兴趣的:(QT,C++,html,缓存)