QT Unable to init SSL Context
-
I made an implementation in my code where it is possible to direct some currencies (cryptocurrencies) to some causes. In the tab in question, a source list on a website (https) is loaded (JSON), showing the information of the entities that would receive the donations. However, the information is not being received in the application ... When opening the application without the default files for the connection (libeay32 and ssleay32) the application opens, but returns the errors below (in debug mode), when the files are inserted, the application is closed on the splashscreen.
Error:
QSslSocket: cannot call unresolved function TLSv1_2_client_method QSslSocket: cannot call unresolved function SSL_CTX_new QSslSocket: cannot call unresolved function SSL_library_init QSslSocket: cannot call unresolved function ERR_get_error QSslSocket: cannot call unresolved function ERR_get_error
Details for compilation:
MinGW (MSYS)
mingw64
Windows 10 x64
QT 5.3.2Instruction for manual compilation of OpenSSL:
tar xvfz openssl-1.0.2r.tar.gz cd openssl-1.0.2r ./Configure no-zlib no-shared no-dso no-krb5 no-camellia no-capieng no-cast no-cms no-dtls1 no-gost no-gmp no-heartbeats no-idea no-jpake no-md2 no-mdc2 no-rc5 no-rdrand no-rfc3779 no-rsax no-sctp no-seed no-sha0 no-static_engine no-whirlpool no-rc2 no-rc4 no-ssl2 no-ssl3 mingw64 make depend make
The files will be made available in the gist, because it exceeds the number of characters allowed.: https://gist.github.com/DigitalCoin1/a0d6c39824db64be48dcccb8e82a1f01
What has already been verified:
-
I checked in some answers here about the inclusion of the files libeay32.dll and ssleay32.dll in the installation directory, and/or in the mingw directory, and/or in the QT directory. In this case I even downloaded all the files from this site:https://indy.fulgan.com/SSL/, but I did not succeed in any of the files ...
-
Compilation of OpenSSL according to QT documentation. In this case I manually compiled OPENSSL using MinGW, but the application is closed on the splashscreen.
More details about the code can be found on the application's github: https://github.com/DigitalCoin1/SperoCoin
On github there is even a compiled application for Windows.
-