[Solved] Qt-network.ssl error: qt.network.ssl: QSslSocket: cannot call unresolved function

Windows Edition

Using QT sometimes calls network resources, such as:

source: "https://www.baidu.com/img/bd_logo1.png"

Problems encountered when running Error reported.

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

 

Solution:

Set the path

Qt\Qt5.9.7\Tools\mingw530_32\opt\bin  の  libeay32.dllssleay32.dll

Copy and paste to path

Qt\Qt5.9.7\5.9.7\mingw53_32\bin

The operation diagram is as follows

 

Similar Posts: