查看完整版本: [-- qt.network.ssl: QSslSocket --]

QTCN开发网 -> Qt基础编程 -> qt.network.ssl: QSslSocket [打印本页] 登录 -> 注册 -> 回复主题 -> 发表主题

枫idea 2017-04-13 15:59

qt.network.ssl: QSslSocket

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 2017-04-13 16:30
把QtCreator目录中的这两个DLL拷贝到EXE所在目录.

枫idea 2017-04-13 16:45
kimtaikee:把QtCreator目录中的这两个DLL拷贝到EXE所在目录.
 (2017-04-13 16:30) 

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

枫idea 2017-04-13 17:09
kimtaikee:
把QtCreator目录中的这两个DLL拷贝到EXE所在目录.


[attachment=16821],已经考进去了,还是一样的错误

枫idea 2017-04-17 09:46
解决了,和ssl没关系,
执行 beginInsertRows(QModelIndex(), 0, m_groups.size() - 1);,报"last >= first" 错误,
加个判断就可以了


查看完整版本: [-- qt.network.ssl: QSslSocket --] [-- top --]



Powered by phpwind v8.7 Code ©2003-2011 phpwind
Gzip disabled