Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QSslSocket: cannot call unresolved function(esri Qt100.0 sdk)
QtWS25 Last Chance

QSslSocket: cannot call unresolved function(esri Qt100.0 sdk)

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 2.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • thamT Offline
    thamT Offline
    tham
    wrote on last edited by
    #1

    Building a simple example with esri Qt100.0 sdk, but always get ssl errors

    platform : windows 10 64bits
    Qt : msvc2015 64bits, 5.9 beta

    Initializing 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

    1 Reply Last reply
    0
    • thamT Offline
      thamT Offline
      tham
      wrote on last edited by tham
      #2

      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?

      L 1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Which version of OpenSSL are you using ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        thamT 1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          Which version of OpenSSL are you using ?

          thamT Offline
          thamT Offline
          tham
          wrote on last edited by
          #4

          @SGaist I tried the dll come with esri runtime sdk and 1.0.1u,1.0.2k,1.1.0e

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            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.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • thamT tham

              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?

              L Offline
              L Offline
              ldanzinger
              wrote on last edited by
              #6

              @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.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved