I don't really know what You've done but when I used SSL I did it this way (and it worked):
QNetworkRequest request();
request.setSslConfiguration(QSslConfiguration::defaultConfiguration());
QNetworkRequest request();
request.setSslConfiguration(QSslConfiguration::defaultConfiguration());
To copy to clipboard, switch view to plain text mode
and in application directory I put these files (these are OpenSSL library files):
libeay32.dll
ssleay32.dll
from: http://www.npcglib.org/~stathis/blog...piled-openssl/
btw. I think that You just did nothing in this code:
QSslConfiguration sslConfiguration(QSslConfiguration::defaultConfiguration());
sslConfiguration.setProtocol(QSsl::TlsV1_2);
QSslConfiguration sslConfiguration(QSslConfiguration::defaultConfiguration());
sslConfiguration.setProtocol(QSsl::TlsV1_2);
To copy to clipboard, switch view to plain text mode
because You created object that is not used anywhere.
Bookmarks