创建QWebSocket对象时,它显示QSslSocket警告消息

时间:2019-03-28 06:39:33

标签: c++ qt websocket openssl

它包含两个通过WebSocket进行通信的进程。一切正常,但是今天我执行了收到这些消息的过程。

qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_new

qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_free

qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_set_ssl_ctx

qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_set_flags

qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_CTX_finish

qt.network.ssl: QSslSocket: cannot resolve SSL_CONF_cmd

qt.network.ssl: QSslSocket: cannot resolve SSL_set_alpn_protos

qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_alpn_select_cb

qt.network.ssl: QSslSocket: cannot resolve SSL_get0_alpn_selected

这些消息在创建QWebSocket对象时显示。

myWebSocket = new QWebSocket(QString(), QWebSocketProtocol::VersionLatest, parent);

我不知道为什么会这样。只有我的电脑显示此消息。如果 我在其他PC上运行该应用程序,没有任何反应。

Windows 10,Qt 5.11.1

0 个答案:

没有答案