描述:模拟http请求,无法请求https协议的url,http协议的是正常的
报错:
[LspTrace]process path is E:\QTProject\build-QtHttpTest-Desktop_Qt_5_7_0_MSVC2015_64bit-Debug\debug\QtHttpTest.exe
[LspTrace]ReadAccConfig returns false!
[LspTrace]FindMatchingProvider: inInfo is one of the LSPs entry.
[LspTrace]WSPStartup end: 0, protocol=17, [not] hook
[LspTrace]FindMatchingProvider: inInfo is one of the LSPs entry.
[LspTrace]WSPStartup end: 0, protocol=6, [not] hook
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自带的libeay32.dll 和 ssleay32.dll 文件拷贝到E:\Qt\Qt5.7.0\5.7\msvc2015_64\bin目录下,依然报错。然后又尝试了下
http://download.csdn.net/detail/z609932088/9470085里面提供的两个库,也是不行。