(转)解决qt提示:qt.network.ssl: QSslSocket: cannot call unresolved function DH_free和qt.network.ssl: QSslSocket: cannot call unresolved function d2i_DHparams

 

运行环境:VS2015&Qt5.8

 

方法一(未能解决):把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下。

 

转自:http://www.cnblogs.com/dachen408/p/7127254.html

posted @ 2018-04-27 17:24  懒猫的新窝  阅读(582)  评论(0编辑  收藏  举报