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. QSslConfiguration - supportedCiphers returns 0 items
Qt 6.11 is out! See what's new in the release blog

QSslConfiguration - supportedCiphers returns 0 items

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 3 Posters 1.2k 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.
  • mmcmmcM Offline
    mmcmmcM Offline
    mmcmmc
    wrote on last edited by aha_1980
    #1

    Hi all,
    Why supportedCiphers() returns 0 items? Operating system is Windows 10, compiler VS2013.

       QSslConfiguration sslConfig = QSslConfiguration::defaultConfiguration();
       qDebug() <<  sslConfig.supportedCiphers().count();  
    

    [Edit aha_1980: fixed typo in title]

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

      Hi,

      Do you have OpenSSL installed on your Windows machine ?

      If so:

      • What version is it ?
      • Did you modify your Project Run PATH environment variable so that they can be found at run time ?

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

      mmcmmcM 1 Reply Last reply
      1
      • mmcmmcM Offline
        mmcmmcM Offline
        mmcmmc
        wrote on last edited by
        #3

        Hi @SGaist ,
        No i did not install OpenSSL on my machine. Should i ?

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

          Yes, you need to.

          The latest version of the 1.0 series would be best as the 1.1 version broke API and ABI compatibility. Since Qt 5.10, the new API is supported although you need to build Qt yourself to use it currently. Also since you are using MSVC2013, you are not using a very recent version of Qt. Therefore, OpenSSL 1.0 is the only choice.

          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
          • SGaistS SGaist

            Hi,

            Do you have OpenSSL installed on your Windows machine ?

            If so:

            • What version is it ?
            • Did you modify your Project Run PATH environment variable so that they can be found at run time ?
            mmcmmcM Offline
            mmcmmcM Offline
            mmcmmc
            wrote on last edited by
            #5

            Hi @SGaist ,
            I installed OpenSSL but nothing changed. Also i change compiler to MinGW and tried again but result is same. What did i miss.

            Thanks,

            JonBJ 1 Reply Last reply
            0
            • mmcmmcM mmcmmc

              Hi @SGaist ,
              I installed OpenSSL but nothing changed. Also i change compiler to MinGW and tried again but result is same. What did i miss.

              Thanks,

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by
              #6

              @mmcmmc
              @SGaist also asked you:

              Did you modify your Project Run PATH environment variable so that they can be found at run time ?

              mmcmmcM 1 Reply Last reply
              0
              • JonBJ JonB

                @mmcmmc
                @SGaist also asked you:

                Did you modify your Project Run PATH environment variable so that they can be found at run time ?

                mmcmmcM Offline
                mmcmmcM Offline
                mmcmmc
                wrote on last edited by mmcmmc
                #7

                Dear @JonB and @SGaist ,
                I copied only libeay32.dll and ssleay32.dll files of OpenSSLv1.0 in app folder and it worked.
                Thank you for your all helps.

                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