QSslSocket: cannot call unresolved function(esri Qt100.0 sdk)
-
Building a simple example with esri Qt100.0 sdk, but always get ssl errors
platform : windows 10 64bits
Qt : msvc2015 64bits, 5.9 betaInitializing application Esri.ArcGISRuntime.Plugin: void __cdecl ArcGISRuntimePlugin::registerTypes(const char *) Esri.ArcGISRuntime Esri.ArcGISRuntime.Plugin: void __cdecl QmlUtils::registerTypes(const char *) Esri.ArcGISRuntime 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 int __cdecl main(int,char *[]) ApplicationWindow_QMLTYPE_11(0x23203de9040) qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get0_next_proto_negotiated qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get0_next_proto_negotiated qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get0_next_proto_negotiated qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get0_next_proto_negotiated qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get0_next_proto_negotiated
I copy the dll of ssl(ssleay32.dll, libeay32.dll) from "\my_path\ArcGIS SDKs\Qt100.0\sdk\samples\ArcGISRuntimeSDKQt_QMLSamples\bin" into the folder of the exe(EsriExample.exe) but it still give me same error messages.
I call
qDebug()<<"support open ssl:"<<QSslSocket::supportsSsl();
and it output true, that means prebuild version of Qt5.9beta should support ssl on windows 10. Do anyone know what is going on?Thanks
I put the the folder of the example at mega
-
Hi,
Which version of OpenSSL are you using ?
-
IIRC OpenSSL did some changes in the naming of their libraries but it's strange that 5.9 works not as well as 5.8 in that regard. You should check the bug report system to see if it's something known if not then please consider creating a new report providing as much details as possible as well as a minimal compilable example that reproduce the behaviour.
-
I down grade Qt5.9 beta to Qt5.8, now it works, do not know where is the problem yet. Qt5.9 have some change on ssl, Qt5.9/esri bug?
@tham said in QSslSocket: cannot call unresolved function(esri Qt100.0 sdk):
Qt5.9/esri bug?
This should be fixed in 5.9 RC. There was a change in the naming of the ANGLE dlls which was causing an issue.