Qt-network.ssl问题报错
Windows版
使用Qt有时调用网络资源比如:
source: "https://www.baidu.com/img/bd_logo1.png"
运行时遇到问题报错:
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
解决方法:
将路径
Qt\Qt5.9.7\Tools\mingw530_32\opt\bin の libeay32.dll、ssleay32.dll
复制粘贴到路径
Qt\Qt5.9.7\5.9.7\mingw53_32\bin
操作示意图如下