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. Getting "qt.network.ssl: QSslSocket: cannot call unresolved function..." when trying to send network request
Forum Updated to NodeBB v4.3 + New Features

Getting "qt.network.ssl: QSslSocket: cannot call unresolved function..." when trying to send network request

Scheduled Pinned Locked Moved Solved General and Desktop
25 Posts 10 Posters 17.3k Views 4 Watching
  • 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.
  • T TheMushroom

    @SGaist
    Downloaded the 1.0 version and copied the libeay32.dll, ssleay32.dll and libssl32.dll to the same places as before and it's all working now. No errors and everything seems to be working.

    @SGaist @raven-worx
    Thanks a lot for the help! :)

    Pablo J. RoginaP Offline
    Pablo J. RoginaP Offline
    Pablo J. Rogina
    wrote on last edited by
    #14

    @TheMushroom great you solved your problem. Please don't forget to mark your post as such. Thanks.

    Upvote the answer(s) that helped you solve the issue
    Use "Topic Tools" button to mark your post as Solved
    Add screenshots via postimage.org
    Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      QtFlorian
      wrote on last edited by
      #15

      Had the same problem. Thought I was on MinGW, but somehow was on MSCV2015. Switching the Kit (back) to Desktop Qt 5.10.1 MinGW 32bit did the trick for me.

      Taz742T 1 Reply Last reply
      0
      • Q QtFlorian

        Had the same problem. Thought I was on MinGW, but somehow was on MSCV2015. Switching the Kit (back) to Desktop Qt 5.10.1 MinGW 32bit did the trick for me.

        Taz742T Offline
        Taz742T Offline
        Taz742
        wrote on last edited by
        #16

        @QtFlorian
        Do you have

        @TheMushroom said in Getting "qt.network.ssl: QSslSocket: cannot call unresolved function..." when trying to send network request:

        libeay32.dll, ssleay32.dll and libssl32.dll

        dlls in your application?

        Do what you want.

        1 Reply Last reply
        0
        • SGaistS SGaist

          You don't link. By default Qt loads the OpenSSL .dll.

          However from the looks of it, you downloaded the 1.1 series which is not compatible with the 1.0.

          Jasmin QuinnJ Offline
          Jasmin QuinnJ Offline
          Jasmin Quinn
          wrote on last edited by
          #17

          @SGaist Hello, I have the same issue but and i don't know which version should i download and copy in my debug folder ! can you help me please

          jsulmJ 1 Reply Last reply
          0
          • Jasmin QuinnJ Jasmin Quinn

            @SGaist Hello, I have the same issue but and i don't know which version should i download and copy in my debug folder ! can you help me please

            jsulmJ Online
            jsulmJ Online
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #18

            @Jasmin-Quinn Qt Online Installer and Qt Maintenance Tool provide the possibility to install OpenSSL, use that.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            Jasmin QuinnJ 1 Reply Last reply
            0
            • T TheMushroom

              @SGaist
              Downloaded the 1.0 version and copied the libeay32.dll, ssleay32.dll and libssl32.dll to the same places as before and it's all working now. No errors and everything seems to be working.

              @SGaist @raven-worx
              Thanks a lot for the help! :)

              Jasmin QuinnJ Offline
              Jasmin QuinnJ Offline
              Jasmin Quinn
              wrote on last edited by Jasmin Quinn
              #19

              @TheMushroom can you please tell me where did you place them exactly and from where u downloaded it

              1 Reply Last reply
              0
              • jsulmJ jsulm

                @Jasmin-Quinn Qt Online Installer and Qt Maintenance Tool provide the possibility to install OpenSSL, use that.

                Jasmin QuinnJ Offline
                Jasmin QuinnJ Offline
                Jasmin Quinn
                wrote on last edited by
                #20

                @jsulm I looked for it but didn't find the possibility to install OpenSsl . However, even if I did I still don't know which version is compatible with my Qt 5.9.9

                jsulmJ 1 Reply Last reply
                0
                • Jasmin QuinnJ Jasmin Quinn

                  @jsulm I looked for it but didn't find the possibility to install OpenSsl . However, even if I did I still don't know which version is compatible with my Qt 5.9.9

                  jsulmJ Online
                  jsulmJ Online
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #21

                  @Jasmin-Quinn According to https://doc.qt.io/archives/qt-5.9/ssl.html it is 1.0.x

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

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

                    You can use QSslSocket:: sslLibraryBuildVersionString to ensure which version was used.

                    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
                    1
                    • R Offline
                      R Offline
                      raoufM
                      wrote on last edited by
                      #23

                      i made a function to send sms and when i click on the pushbutton it always shows me this errors :
                      qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
                      qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
                      qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
                      qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
                      qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error

                      i tried to run my code with a friend's computer and it works .
                      any solutions ?

                      Pl45m4P 1 Reply Last reply
                      0
                      • R raoufM

                        i made a function to send sms and when i click on the pushbutton it always shows me this errors :
                        qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
                        qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
                        qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
                        qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
                        qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error

                        i tried to run my code with a friend's computer and it works .
                        any solutions ?

                        Pl45m4P Offline
                        Pl45m4P Offline
                        Pl45m4
                        wrote on last edited by
                        #24

                        @raoufM

                        Have you tried the steps above? How did you install Qt? Is OpenSSL installed/available?


                        If debugging is the process of removing software bugs, then programming must be the process of putting them in.

                        ~E. W. Dijkstra

                        R 1 Reply Last reply
                        0
                        • Pl45m4P Pl45m4

                          @raoufM

                          Have you tried the steps above? How did you install Qt? Is OpenSSL installed/available?

                          R Offline
                          R Offline
                          raoufM
                          wrote on last edited by
                          #25

                          @Pl45m4 i installed it from the official website , idk if the openssl is installed or not tbh . can you teach me how to install it ?

                          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