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. qt.tlsbackend.ossl: Failed to load libssl/libcrypto
Forum Updated to NodeBB v4.3 + New Features

qt.tlsbackend.ossl: Failed to load libssl/libcrypto

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.2k 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.
  • F Offline
    F Offline
    fherder
    wrote on last edited by
    #1

    I'm trying to deploy my Qt application on MacOS. As part of its functionality, it needs to sent REST requests over HTTPS to a specific server. It works perfectly on Linux - where I have been developing - however when I compile and run the application on MacOS, apparently openssl silently fails. The result is that the application only half-works - I see what I'm supposed to see client-side but everything is blank because the request never happened. Qt just shows the following error:

    qt.tlsbackend.ossl: Failed to load libssl/libcrypto

    What exactly is happening here? I was hoping that by using Qt I could sidestep all of these issues with having to find and include libraries on the user's system.

    sierdzioS 1 Reply Last reply
    0
    • F fherder

      I'm trying to deploy my Qt application on MacOS. As part of its functionality, it needs to sent REST requests over HTTPS to a specific server. It works perfectly on Linux - where I have been developing - however when I compile and run the application on MacOS, apparently openssl silently fails. The result is that the application only half-works - I see what I'm supposed to see client-side but everything is blank because the request never happened. Qt just shows the following error:

      qt.tlsbackend.ossl: Failed to load libssl/libcrypto

      What exactly is happening here? I was hoping that by using Qt I could sidestep all of these issues with having to find and include libraries on the user's system.

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @fherder said in qt.tlsbackend.ossl: Failed to load libssl/libcrypto:

      What exactly is happening here? I was hoping that by using Qt I could sidestep all of these issues with having to find and include libraries on the user's system.

      Hm, I think it should just work. But also it should not try to load OpenSSL but rather use the security libs from macOS I think. https://doc.qt.io/qt-6/ssl.html

      I have an app using QtWebSockets and secure connections work out of the box on macOS. Make sure you are not using some outdated Qt version.

      (Z(:^

      1 Reply Last reply
      1

      • Login

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