Qt and OpenSSL incompatible version on Ubuntu

I have finally managed to make it work.

I have installed openssl 1.0.2k from the sources. I have downloaded the version I needed here and followed the tutorial on this page.

After doing so I was still having some of the errors but not the ones for the incompatible version. To fix that I have installed libssl1.0-dev and everything was good to go (thx to this guy).

I hope this will help somebody.

I've copied libcrypto.so and libssl.so (v1.0.2) to my current compiler lib directory (<QTDIR>/5.11.1/gcc_64/lib). In my case I took theese 2 libs in /usr/lib/x86_64-linux-gnu/: libssl.so.1.0.0 and libcrypto.so.1.0.0, copied and renamed. It worked for me.