Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.10, 5.11
-
None
Description
Since Qt 5.10, Qt does support both openssl 1.0 and openssl 1.1. This is a binary build time decision: Qt configured against OpenSSL 1.0 will not run with a system openssl 1.1, and vice versa.
The configure flag is however not considered when looking for openssl in the system paths: The logic is to always use the greatest version of libssl, libcrypto.
This has the consequence that, for distributions which allow you to install both variants in parallel, a Qt that is configured to compile against OpenSSL 1.0 will detect OpenSSL 1.1, try to load that, and fail.
Instead, the comparison in qsslsocket_openssl_symbols.cpp, LibGreaterThan should be changed to try to load libssl.so.1.0, libcrypto.so.1.0 first if Qt was configured without OpenSSL 1.1 support.
Attachments
Issue Links
- duplicates
-
QTBUG-68156 "Incompatible version of OpenSSL" on Ubuntu 18.04
- Closed
-
QTBUG-95363 "Incompatible version of OpenSSL" on Fedora 34
- Closed
- relates to
-
QTCREATORBUG-20607 SSL is not supported in QtC under Linux
- Closed