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. TLS initialization failed
Forum Updated to NodeBB v4.3 + New Features

TLS initialization failed

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 3 Posters 547 Views 2 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.
  • R Offline
    R Offline
    Raii
    wrote on last edited by Raii
    #1

    hello i just got a mistake like this when doing post request Qt version 5.14.1 Windows 10
    Ekran Alıntısı.PNG
    Ekran Alıntısı.PNG

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

      @artwaw no, don't link them. The pre-built Qt packages load OpenSSL dynamically. They are not build against it for international restriction about distribution of application making use of cryptography.

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

      artwawA 1 Reply Last reply
      3
      • artwawA Offline
        artwawA Offline
        artwaw
        wrote on last edited by
        #2

        Hi,
        your .exe file can't find libcrypto and libssl dlls. Are they on the system path or copied into the same folder as your .exe?

        For more information please re-read.

        Kind Regards,
        Artur

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Raii
          wrote on last edited by
          #3

          I dont understand what you mean?

          artwawA 1 Reply Last reply
          0
          • R Raii

            I dont understand what you mean?

            artwawA Offline
            artwawA Offline
            artwaw
            wrote on last edited by artwaw
            #4

            @Raii OpenSSL is distributed as a libraries (dll files under windows). Your program makes use of them by calling exposed functions of those. They must be visible for the program at runtime - the easiest way to do so is to copy them into your .exe folder.
            Also, if I am not mistaken, you should link them in your .pro file, so in there should be something along:``
            (cut)
            Of course paths should be adjusted to your case.
            Edit: removed wrong advice.

            For more information please re-read.

            Kind Regards,
            Artur

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

              @artwaw no, don't link them. The pre-built Qt packages load OpenSSL dynamically. They are not build against it for international restriction about distribution of application making use of cryptography.

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

              artwawA 1 Reply Last reply
              3
              • SGaistS SGaist

                @artwaw no, don't link them. The pre-built Qt packages load OpenSSL dynamically. They are not build against it for international restriction about distribution of application making use of cryptography.

                artwawA Offline
                artwawA Offline
                artwaw
                wrote on last edited by
                #6

                @SGaist Noted. Thank you.

                For more information please re-read.

                Kind Regards,
                Artur

                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