Solved QT 5.13.0 Open ssl not working mingw 7.3.0
-
I am trying to use QNetworkAccessManager with SSL but it is not working.
qDebug() << "Support SSL: " << QSslSocket::supportsSsl()
<< "\nLib Version Number: " << QSslSocket::sslLibraryVersionNumber()
<< "\nLib Version String: " << QSslSocket::sslLibraryVersionString()
<< "\nLib Build Version Number: " << QSslSocket::sslLibraryBuildVersionNumber()
<< "\nLib Build Version String: " << QSslSocket::sslLibraryBuildVersionString();
Result is:Support SSL: false
Lib Version Number: 0
Lib Version String: ""
Lib Build Version Number: 269488175
Lib Build Version String: "OpenSSL 1.1.1b 26 Feb 2019"
I have tried to install openssl openssl-1.1.1c.tar.gz from https://www.openssl.org/source/ But this didn't work. -
Hi,
How did you build OpenSSL ?
Where did you put it on your system ? -
Thanks for your fast reply
No didn't build openssl. I have try to use almost all version from slproweb -
Where did you store the dlls ?
-
In xxx-Desktop_Qt_5_13_0_MinGW_32_bit-Debug\debug
libeay32.dll
libssl32.dll
ssleay32.dll -
Did you try these MinGW builds ?
The links comes from the OpenSSL website.You can't mix and match C++ libraries built with MinGW and Visual Studio.
-
Thank, you really saved my day. Now it works