Il 15/09/2018 12:51, maitai ha scritto:
Some of my users have started migrating to Ubuntu 18.04 and since it
comes with openssl 1.1.0 the app cannot connect anymore. As I understand
qt 5.11.1 prebuild binaries are built against openssl 1.0.X.

Is there a simple way to deploy my application with openssl 1.0.X
libraries so it will use that instead of the system library? I didn't
succeed so far so any hint is welcomed.

IIRC Ubuntu 18.04 provides OpenSSL 1.0 in a separate package (not installed by default). You can easily detect if you're running without SSL support (QSslSocket::supportsSsl()), and in that case, prompt the user to install the necessary packages.

(Cherry on top, if you do detect the software is running on Ubuntu, you could just launch the right package manager, maybe even already configured to try to install libssl1.0 ...)

My 2 c,
--
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

Attachment: smime.p7s
Description: Firma crittografica S/MIME

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to