qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method

使用Qt编写程序访问知乎官网,程序报错

qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error

参考 https://blog.csdn.net/bladeandmaster88/article/details/52351339 解决方法如下:

G:\Qt5\Tools\mingw492_32\opt\bin

目录下的ibeay32.dll和ssleay32.dll拷贝到

G:\Qt5\Tools\mingw492_32\bin

目录下即可
注:G盘是Qt的安装目录

posted @ 2018-09-21 22:09  尚修能的技术博客  阅读(1115)  评论(0编辑  收藏  举报