解决qt提示:qt.network.ssl: QSslSocket: cannot call unresolved function DH_free

时间:2022-04-23 18:45:50

解决qt提示:qt.network.ssl: QSslSocket: cannot call unresolved function DH_free

方法一(解决):把C:\Qt\Qt5.8.0\Tools\QtCreator\bin下的libeay32.dll和ssleay32.dll库复制到C:\Qt\Qt5.8.0\5.8\msvc2015_64\bin下。

方法二(解决):登录网站https://indy.fulgan.com/SSL/下载 openssl-1.0.2i-x64_86-win64.zip,解压后把libeay32.dll和ssleay32.dll库复制到C:\Qt\Qt5.8.0\5.8\msvc2015_64\bin下。