QNetworkAccessManager constructor crash on macOS 11
-
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 -
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..
MichaelIf 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.