[Interest] Enabling OpenSSL on a shared build of Qt

Koehne Kai Kai.Koehne at theqtcompany.com
Wed Mar 2 17:14:18 CET 2016



> -----Original Message-----
> From: Interest [mailto:interest-
> bounces+kai.koehne=theqtcompany.com at qt-project.org] On Behalf Of
> Nuno Santos
> Sent: Wednesday, March 02, 2016 4:38 PM
> To: interest <interest at qt-project.org>
> Subject: [Interest] Enabling OpenSSL on a shared build of Qt
> 
> Hi,
> 
> I’m using Qt 5.5.1 clang_64 prebuilt package and it doesn’t seem to have
> OpenSSL support built in as I’m receiving this output.
> 
> From documentation I see that OpenSSL is enabled by default however it
> doesn’t seem to able to find it.

It does try to load libssl.so, libcrypto.so with different version numbers, in different places. Enjoy

https://code.woboq.org/qt5/qtbase/src/network/ssl/qsslsocket_openssl_symbols.cpp.html

> I’m even trying to additionally link ssl libraries to the app but it doesn’t
> seem to work either.

You need to recompile Qt to dynamically or statically link openssl.

Regards

Kai


More information about the Interest mailing list