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_methodqt.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 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? Thanks for any help in advance!
Solved! Go to Solution.
Hi Kirsten, I was just working through a similar issue yesterday. I am brand new to the QT environment - but notes in the attached PDF solved the issue for me in my development environment (x64). Hope it helps.
Hi, I tried taking the libeay32.dll and the ssleay32.dll to my C:\Qt\Qt5.7.1\5.7\msvc2015_64\bin folder and it didn't work. I looked at the kit that I am using (Desktop Qt 5.7.1 MSVC2015_64bit) is using the Compiler Microsoft Visual C++ Compiler 14.0 (amd64) . Does your setup look similar?
This worked! Thank you for the help! I am so grateful.
This worked for me thank you so much!
Thank you for the help! I am so grateful.