• 5075阅读
  • 4回复

[提问]qt.network.ssl: QSslSocket [复制链接]

上一主题 下一主题
离线枫idea
 

只看楼主 倒序阅读 楼主  发表于: 2017-04-13
QML debugging is enabled. Only use this in a safe environment.
qt.network.ssl: QSslSocket: cannot resolve TLSv1_1_client_method
qt.network.ssl: QSslSocket: cannot resolve TLSv1_2_client_method
qt.network.ssl: QSslSocket: cannot resolve TLSv1_1_server_method
qt.network.ssl: QSslSocket: cannot resolve TLSv1_2_server_method
qt.network.ssl: QSslSocket: cannot resolve SSL_select_next_proto
qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_next_proto_select_cb
qt.network.ssl: QSslSocket: cannot resolve SSL_get0_next_proto_negotiated
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
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
qml:
Server State: Connecting to the server...
Server State: Connecting to the server...
Server State: Connecting to the server...
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get0_next_proto_negotiated
ASSERT: "last >= first" in file [url=itemmodels\qabstractitemmodel.cpp, line 2689]itemmodels\qabstractitemmodel.cpp, line 2689[/url]
QThreadStorage: Thread 0x2b2c60396e0 exited after QThreadStorage 8 destroyed
QWaitCondition: Destroyed while threads are still waiting


这个要怎么解决?
离线kimtaikee

只看该作者 1楼 发表于: 2017-04-13
把QtCreator目录中的这两个DLL拷贝到EXE所在目录.

离线枫idea

只看该作者 2楼 发表于: 2017-04-13
回 kimtaikee 的帖子
kimtaikee:把QtCreator目录中的这两个DLL拷贝到EXE所在目录.
 (2017-04-13 16:30) 

EXE所在目录?什么意思?可以截图看下吗?
离线枫idea

只看该作者 3楼 发表于: 2017-04-13
回 kimtaikee 的帖子
kimtaikee:
把QtCreator目录中的这两个DLL拷贝到EXE所在目录.


,已经考进去了,还是一样的错误
离线枫idea

只看该作者 4楼 发表于: 2017-04-17
解决了,和ssl没关系,
执行 beginInsertRows(QModelIndex(), 0, m_groups.size() - 1);,报"last >= first" 错误,
加个判断就可以了
快速回复
限100 字节
 
上一个 下一个