Getting "qt.network.ssl: QSslSocket: cannot call unresolved function..." when trying to send network request
-
Had the same problem. Thought I was on MinGW, but somehow was on MSCV2015. Switching the Kit (back) to Desktop Qt 5.10.1 MinGW 32bit did the trick for me.
@QtFlorian
Do you have@TheMushroom said in Getting "qt.network.ssl: QSslSocket: cannot call unresolved function..." when trying to send network request:
libeay32.dll, ssleay32.dll and libssl32.dll
dlls in your application?
-
You don't link. By default Qt loads the OpenSSL .dll.
However from the looks of it, you downloaded the 1.1 series which is not compatible with the 1.0.
@SGaist Hello, I have the same issue but and i don't know which version should i download and copy in my debug folder ! can you help me please
-
@SGaist Hello, I have the same issue but and i don't know which version should i download and copy in my debug folder ! can you help me please
@Jasmin-Quinn Qt Online Installer and Qt Maintenance Tool provide the possibility to install OpenSSL, use that.
-
@SGaist
Downloaded the 1.0 version and copied the libeay32.dll, ssleay32.dll and libssl32.dll to the same places as before and it's all working now. No errors and everything seems to be working.@SGaist @raven-worx
Thanks a lot for the help! :)@TheMushroom can you please tell me where did you place them exactly and from where u downloaded it
-
@Jasmin-Quinn Qt Online Installer and Qt Maintenance Tool provide the possibility to install OpenSSL, use that.
@jsulm I looked for it but didn't find the possibility to install OpenSsl . However, even if I did I still don't know which version is compatible with my Qt 5.9.9
-
@jsulm I looked for it but didn't find the possibility to install OpenSsl . However, even if I did I still don't know which version is compatible with my Qt 5.9.9
@Jasmin-Quinn According to https://doc.qt.io/archives/qt-5.9/ssl.html it is 1.0.x
-
You can use QSslSocket:: sslLibraryBuildVersionString to ensure which version was used.
-
i made a function to send sms and when i click on the pushbutton it always shows me this 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_errori tried to run my code with a friend's computer and it works .
any solutions ? -
i made a function to send sms and when i click on the pushbutton it always shows me this 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_errori tried to run my code with a friend's computer and it works .
any solutions ? -
Have you tried the steps above? How did you install Qt? Is OpenSSL installed/available?