Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QSslSocket::supportsSsl return false and “qt.network.ssl: No functional TLS backend was found”
Forum Updated to NodeBB v4.3 + New Features

QSslSocket::supportsSsl return false and “qt.network.ssl: No functional TLS backend was found”

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 599 Views 1 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.
  • S Offline
    S Offline
    seadark
    wrote on last edited by
    #1

    I use CLion and QT6.2.4/CMake3.24 to develop my project, the path of OpenSSL is correctly configured in cmakelist, but error shows.

    my code is:
    qDebug() << "OpenSSL supported:" << QSslSocket::supportsSsl();
    qDebug() << QSslSocket::supportsSsl() << QSslSocket::sslLibraryBuildVersionString() <<" , "<< QSslSocket::sslLibraryVersionString();
    QNetworkAccessManager *manager = new QNetworkAccessManager();
    qDebug() << manager->supportedSchemes();
    and the output is:
    qt.network.ssl: No functional TLS backend was found
    false "" , ""
    qt.network.ssl: No functional TLS backend was found
    QList("file", "qrc", "http", "data")
    this is cmakelist.txt about openssl
    3c5590bd-90cc-4c52-8258-2c2ece661c91-image.png
    c577f179-e53e-4f52-980c-946c124c4367-image.png

    cmake building has no error, the main cpp has bug.

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

      Hi,

      Is the path to the OpenSSL libraries part of the PATH environment variable when running your application ?

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

      S 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Is the path to the OpenSSL libraries part of the PATH environment variable when running your application ?

        S Offline
        S Offline
        seadark
        wrote on last edited by
        #3

        @SGaist Yes, I have checked it.

        SGaistS 1 Reply Last reply
        0
        • S seadark

          @SGaist Yes, I have checked it.

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Start your application with the QT_DEBUG_PLUGINS environment variable set to one to see exactly what happens with the plugin.

          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
          • Pl45m4P Pl45m4 referenced this topic on

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved