使用Qt编写程序访问知乎官网,程序报错
qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_methodqt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_newqt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_initqt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_errorqt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
参考 解决方法如下:
G:\Qt5\Tools\mingw492_32\opt\bin
目录下的ibeay32.dll和ssleay32.dll拷贝到
G:\Qt5\Tools\mingw492_32\bin
目录下即可
注:G盘是Qt的安装目录