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. SSL for new Qt version
Forum Updated to NodeBB v4.3 + New Features

SSL for new Qt version

Scheduled Pinned Locked Moved Solved General and Desktop
13 Posts 3 Posters 1.6k Views 3 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #3

    Hi,

    As @jsulm wrote, you can now get them directly from the online installer. One note, if you find these libraries within your Windows system folders, it means that you have at least one application that is misbehaving. OpenSSL is not a standard Windows installation and like any other standard application dependency, it should not get installed in system folders.

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

    Andy314A 1 Reply Last reply
    2
    • jsulmJ jsulm

      @Andy314 said in SSL for new Qt version:

      Where can I get the versions for the new environment ?

      If I'm not mistaked you can now install OpenSSL using Online Installer/Qt Maintenance Tool

      Andy314A Offline
      Andy314A Offline
      Andy314
      wrote on last edited by Andy314
      #4

      @jsulm said in SSL for new Qt version:

      @Andy314 said in SSL for new Qt version:

      Where can I get the versions for the new environment ?

      If I'm not mistaked you can now install OpenSSL using Online Installer/Qt Maintenance Tool

      For Qt 1.15.1 I have installed nearly all. Especially "Qt Network Autorization"
      and "Additional librarys/Qt/Qt Network Autorization". What must I enable ?

      I found the libeay32.dll and the ssleay32.dll in the Qt-installationonly only under
      "\Tools\mingw810_32\opt\bin" resp. "\Tools\mingw810_62\opt\bin"

      These files do not work with MSVC. There is no MSVC version or what filename do they have ?

      jsulmJ 1 Reply Last reply
      0
      • Andy314A Andy314

        @jsulm said in SSL for new Qt version:

        @Andy314 said in SSL for new Qt version:

        Where can I get the versions for the new environment ?

        If I'm not mistaked you can now install OpenSSL using Online Installer/Qt Maintenance Tool

        For Qt 1.15.1 I have installed nearly all. Especially "Qt Network Autorization"
        and "Additional librarys/Qt/Qt Network Autorization". What must I enable ?

        I found the libeay32.dll and the ssleay32.dll in the Qt-installationonly only under
        "\Tools\mingw810_32\opt\bin" resp. "\Tools\mingw810_62\opt\bin"

        These files do not work with MSVC. There is no MSVC version or what filename do they have ?

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #5

        @Andy314 said in SSL for new Qt version:

        Qt Network Autorization

        This is not OpenSSL.
        Check "Developer and Designer Tools" - there is an entry for OpenSSL.

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

        Andy314A 1 Reply Last reply
        1
        • jsulmJ jsulm

          @Andy314 said in SSL for new Qt version:

          Qt Network Autorization

          This is not OpenSSL.
          Check "Developer and Designer Tools" - there is an entry for OpenSSL.

          Andy314A Offline
          Andy314A Offline
          Andy314
          wrote on last edited by Andy314
          #6

          @jsulm said in SSL for new Qt version:

          @Andy314 said in SSL for new Qt version:

          Qt Network Autorization

          This is not OpenSSL.
          Check "Developer and Designer Tools" - there is an entry for OpenSSL.

          Aha thank you, I found it. Then I get the folder
          D:\Qt4\Tools\OpenSSL\Win_x86\bin
          There are 2 dlls in it:
          libcrypto-1_1.dll and libssl-1_1.dll

          Moving this files to the EXE does not help.
          Must I rename it. Needs the new Qt version the same filenames like the older version ?

          jsulmJ 1 Reply Last reply
          0
          • SGaistS SGaist

            Hi,

            As @jsulm wrote, you can now get them directly from the online installer. One note, if you find these libraries within your Windows system folders, it means that you have at least one application that is misbehaving. OpenSSL is not a standard Windows installation and like any other standard application dependency, it should not get installed in system folders.

            Andy314A Offline
            Andy314A Offline
            Andy314
            wrote on last edited by
            #7

            @SGaist said in SSL for new Qt version:

            Hi,

            As @jsulm wrote, you can now get them directly from the online installer. One note, if you find these libraries within your Windows system folders, it means that you have at least one application that is misbehaving. OpenSSL is not a standard Windows installation and like any other standard application dependency, it should not get installed in system folders.

            Your are right ! I mean Windows-Computer and not Windows-System-Folder. I found it in under Programms (x86). There are a lot versions of the 2 dlls.

            QSslSocket::sslLibraryBuildVersionString(); gives 1.1.1g.
            I checked the dlls with the property dialog and found a matching versions of the 2 dlls. I copied the files to the EXE without success.
            (for now I checked the 32 bit version but I need 64- at last.)

            Could this be the correct way or what must I do ?
            (It is unclear for me what shall I do with binarys delivered from the maintenece tools.)

            1 Reply Last reply
            0
            • Andy314A Andy314

              @jsulm said in SSL for new Qt version:

              @Andy314 said in SSL for new Qt version:

              Qt Network Autorization

              This is not OpenSSL.
              Check "Developer and Designer Tools" - there is an entry for OpenSSL.

              Aha thank you, I found it. Then I get the folder
              D:\Qt4\Tools\OpenSSL\Win_x86\bin
              There are 2 dlls in it:
              libcrypto-1_1.dll and libssl-1_1.dll

              Moving this files to the EXE does not help.
              Must I rename it. Needs the new Qt version the same filenames like the older version ?

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #8

              @Andy314 said in SSL for new Qt version:

              D:\Qt4\Tools\OpenSSL\Win_x86\bin

              Is there D:\Qt4\Tools\OpenSSL\Win_x86_64\bin also?

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

              Andy314A 1 Reply Last reply
              0
              • jsulmJ jsulm

                @Andy314 said in SSL for new Qt version:

                D:\Qt4\Tools\OpenSSL\Win_x86\bin

                Is there D:\Qt4\Tools\OpenSSL\Win_x86_64\bin also?

                Andy314A Offline
                Andy314A Offline
                Andy314
                wrote on last edited by Andy314
                #9

                @jsulm said in SSL for new Qt version:

                @Andy314 said in SSL for new Qt version:

                D:\Qt4\Tools\OpenSSL\Win_x86\bin

                Is there D:\Qt4\Tools\OpenSSL\Win_x86_64\bin also?

                No it is not:
                This folder I have Win_x64.

                jsulmJ 1 Reply Last reply
                0
                • Andy314A Andy314

                  @jsulm said in SSL for new Qt version:

                  @Andy314 said in SSL for new Qt version:

                  D:\Qt4\Tools\OpenSSL\Win_x86\bin

                  Is there D:\Qt4\Tools\OpenSSL\Win_x86_64\bin also?

                  No it is not:
                  This folder I have Win_x64.

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #10

                  @Andy314 said in SSL for new Qt version:

                  This folder I have Win_x64

                  Then this one should contain the 64bit versions of the libs.

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

                  Andy314A 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @Andy314 said in SSL for new Qt version:

                    This folder I have Win_x64

                    Then this one should contain the 64bit versions of the libs.

                    Andy314A Offline
                    Andy314A Offline
                    Andy314
                    wrote on last edited by Andy314
                    #11

                    Hi @jsulm,

                    that is clear. But what I must do with the folder. I found this in the docu.

                    Qt can be configured to use OpenSSL in three ways:

                    Qt Network loads OpenSSL libraries (DDLs) when first needed, at runtime. If not found, the application continues to run, but fails to handle SSL communication.
                    
                    Qt Network links against the OpenSSL libraries. If they cannot be found at load time, the application fails to start.
                    
                    Qt Network compiles against a static version of the OpenSSL libs, and OpenSSL becomes part of the Qt5Network library.
                    

                    I want avoid to recompile Qt , so that I would prefer the first solution.
                    How can I manage it. Must I made from the included "libcrypto.lib", "libssl.lib"
                    one/two dlls. How must I name it. What needs the Qt Network.

                    The simplest thing would be if anyone know where I can download these damned files? or knows a program to install that has the neededs dlls.

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

                      No need to build anything. Copy the dlls in the build folder for now.

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

                      Andy314A 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        No need to build anything. Copy the dlls in the build folder for now.

                        Andy314A Offline
                        Andy314A Offline
                        Andy314
                        wrote on last edited by
                        #13

                        @SGaist said in SSL for new Qt version:

                        No need to build anything. Copy the dlls in the build folder for now.

                        I works now ! (Dont know why my first try did not work.)

                        One can take the original dlls as they are to the executable.

                        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