内嵌网页绕过证书的方法
QWebEngineProfile::defaultProfile()->setHttpUserAgent(QStringLiteral("Chrome/70.0.3538.102"));
this->page()->profile()->setHttpUserAgent(QStringLiteral("Chrome/70.0.3538.102"));
qt内嵌网页清理缓存的方法
QWebEngineProfile::defaultProfile()->clearAllVisitedLinks();
QWebEngineProfile::defaultProfile()->clearHttpCache();
qDebug()<<"清理上次的http网页缓存";