Question: I am running Qt 5.7.1 (MSVC 2015, 32 bit) with Qt Creator 4.2.0. I have a problem with `QSslSocket`. I am getting 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 have gone to the following location [openssl github](https://github.com/openssl/openssl) and downloaded the zip file. I have moved the "libeay32.dll" and "ssleay32.dll" files to my release directory, and I am still getting these errors. Is there anyone who has gotten the `QSslSocket` working that can give me steps to get the socket working or has any suggestions?

Answer: 
Copy these two file to path: 'C:\Qt\Tools(msvc/mingw){version}\bin'

```
C:\Qt\Tools\(msvc|mingw)\opt\bin\libeay32.dll
C:\Qt\Tools\(msvc|mingw)\opt\bin\ssleay32.dll

```
By combining existing answers here and some research I managed to make it work with MSVC2017 x64 compiler:

1. Download 1.0 version (Win64 OpenSSL **v1.0.2r** Light) from here:
<https://slproweb.com/products/Win32OpenSSL.html>
2. When installing, choose to copy DLLs to OpenSSL bin directory.
3. And then copy **libeay32.dll** and **ssleay32.dll** from OpenSSL bin folder to: `{Your_Qt_Folder}/{Qt_version}/msvc2017_64/bin`