The preparatory work
//new request object
QNetworkRequest request;
//ready for sending the HTTPS request
QSslConfiguration config.
QSslConfiguration conf=request. SslConfiguration ();
The conf. SetPeerVerifyMode (QSslSocket: : VerifyNone);
The conf. SetProtocol (QSsl: : TlsV1SslV3);
Request. SetSslConfiguration (conf);
Request. SetUrl (QUrl (" https://www.baidu.com "));
Request. SetUrl (QUrl (id));//my request url
//check supported agreement
QDebug () & lt;
OpenSSL first problem is already processed, support the protocol is available (" FTP ", "file", "QRC", "HTTP", "HTTPS", "data")
But when after a period of time to request, the output will become ()
Whether because of aging? How to solve? Your bosses and see, don't have time to throw me a keyword can also, now touch mind,,