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. QNetworkAccessManager constructor crash on macOS 11
Forum Updated to NodeBB v4.3 + New Features

QNetworkAccessManager constructor crash on macOS 11

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

    Hi,
    I'm using Qt 6.5.3 and I've found the constructor for QNetworkAccessManager crashes my app, but only on macOS 11. (macOS 12+ it runs fine.)
    Any ideas?
    One guess.... the Qt 6.5.3 tools & versions says that minimum openSSL 3.0.7 is required, but macOS 11 (Big Sur) only comes with openSSL 2.8.3. (I've tried packaging openSSL 3.0.12 dylibs in my macOS app but that doesn't work. I'm probably doing something wrong.)
    Any help would be most appreciated..
    Michael

    Axel SpoerlA 1 Reply Last reply
    0
    • M mjsmithers

      Hi,
      I'm using Qt 6.5.3 and I've found the constructor for QNetworkAccessManager crashes my app, but only on macOS 11. (macOS 12+ it runs fine.)
      Any ideas?
      One guess.... the Qt 6.5.3 tools & versions says that minimum openSSL 3.0.7 is required, but macOS 11 (Big Sur) only comes with openSSL 2.8.3. (I've tried packaging openSSL 3.0.12 dylibs in my macOS app but that doesn't work. I'm probably doing something wrong.)
      Any help would be most appreciated..
      Michael

      Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote on last edited by
      #2

      @mjsmithers

      If solving the issue locally is an option, Homebrew can be used to upgrade ssh. Here is an old, but still useful tutorial about that.

      If the app can be shipped to and run on systems with older ssh versions, you may want to check e.g. QSslSocket::sslLibraryVersionNumber() and fail gracefully instead of rushing into a crash.

      Software Engineer
      The Qt Company, Oslo

      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