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. QtNetwork on Windows by default with or without SSL

QtNetwork on Windows by default with or without SSL

Scheduled Pinned Locked Moved General and Desktop
9 Posts 3 Posters 6.8k 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.
  • W Offline
    W Offline
    walteste
    wrote on last edited by
    #1

    I just figured out that the Qt 4.7.4 comes with SSL compiled and 4.8.0 RC comes without SSL compiled in the Qt SDK.

    What is the default? Should they always be without or with SSL enabled?

    1 Reply Last reply
    0
    • V Offline
      V Offline
      veeeee_d
      wrote on last edited by
      #2

      I don't think SSL will ever be the default form of a socket system, but if 4.8.0 is as you say, I would like to know the answer too.

      1 Reply Last reply
      0
      • W Offline
        W Offline
        walteste
        wrote on last edited by
        #3

        You just got me wrong, i said 4.7.4 has it enabled and 4.8.0 has it not enabled. It is the opposite than you understood me.
        [quote author="veeeee_d" date="1322718408"]I don't think SSL will ever be the default form of a socket system, but if 4.8.0 is as you say, I would like to know the answer too.[/quote]

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goetz
          wrote on last edited by
          #4

          SSL support in Qt is implemented by using external libraries like OpenSSL. For licensing reasons, Qt can neither ship with OpenSSL nor be linked directly against it. It uses a load-the-DLL-at-runtime approach to test whether SSL libs are installed on your system. Thus, the OpenSSL libs need to be stored in a path that is accessible by the application.

          http://www.catb.org/~esr/faqs/smart-questions.html

          1 Reply Last reply
          0
          • W Offline
            W Offline
            walteste
            wrote on last edited by
            #5

            Thanks Volker, that sounds good. But where do i get this dll's which are linked against 4.8.0 RC?

            1 Reply Last reply
            0
            • G Offline
              G Offline
              goetz
              wrote on last edited by
              #6

              Sorry, I don't know that. If it does not work with the RC I would suggest opening a bug report on the public "Jira":https://bugreports.qt.nokia.com - or search there whether it has been reported.

              But make sure, that the OpenSSL libs are available to your application. Either install them in a system directory like C:/windows/... or in the directory containing your .exe.

              http://www.catb.org/~esr/faqs/smart-questions.html

              1 Reply Last reply
              0
              • W Offline
                W Offline
                walteste
                wrote on last edited by
                #7

                Hi Volker, I would like to know which libs i need for Windows and where i can get them, before i raise a bug report?
                [quote author="Volker" date="1322829981"]Sorry, I don't know that. If it does not work with the RC I would suggest opening a bug report on the public "Jira":https://bugreports.qt.nokia.com - or search there whether it has been reported.

                But make sure, that the OpenSSL libs are available to your application. Either install them in a system directory like C:/windows/... or in the directory containing your .exe.[/quote]

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  goetz
                  wrote on last edited by
                  #8

                  You can get the DLLs from "here":http://www.slproweb.com/products/Win32OpenSSL.html

                  I did not try whether it works with MinGW, thought. That's still on my TODO list.

                  http://www.catb.org/~esr/faqs/smart-questions.html

                  1 Reply Last reply
                  0
                  • W Offline
                    W Offline
                    walteste
                    wrote on last edited by
                    #9

                    Volker, you are a genius, that worked like a charm. Thank you very much!

                    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