I am using Qt 5.7.1 (MSVC 2015, 32 bit) with Qt Creator 4.2.0. I have a problem with QSslSocket. I get the following errors:
qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
I went to the following OpenSSL GitHub folder and downloaded the ZIP file. I have moved the files "libeay32.dll" and "ssleay32.dll" to the release directory, and still get these errors. Is there anyone who has a working one QSslSocketthat can give me steps to make the socket work, or have any suggestions?
source
share