Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QNetworkAccessManager::get crash on Mac OS when update openssl1.0.2 to 1.1.1
timefoasong last edited by
Before I updated OpenSSL everything was ok.But when I update openssl1.0.2 to openssl1.1.1,the client crashed when QNetworkAccessManager::get on Mac OS.The same error on Windows is "Error creating SSL context".
When using the network module, we should call libeay32.dll and ssleay32.dll, open the DEBUG runtime program, and I found that these two DLL files were not called. The reason for the error was that the executable files could not find the two files, but they did exist in the QT installation directory, so we copied C:\Qt\Qt5.5.1\Tools\\QtCreator\bin\libeay32.dll and ssleay32.dll into the same directory as the QT5Network.dll to solve the problem.
However.the problem on Mac OS is still exists,i do not know how to resolve it? Pls help me
Hi and welcome to devnet,
OpenSSL 1.1 support is only available since Qt 5.10.
OpenSSL 1.1 breaks both API and ABI compatibility with regard to 1.0. You can't just replace one with the other.