Solved OpenSSL version in console. How?
-
Hello all!
I need to get the version of OpenSSL that used in Qt Application and from which *.so file it's gotten? Is there way to do it? -
Issue closed. Solution found.
#include "/Path/To/OpenSSL/include/opensslv.h" qDebug() << QString(OPENSSL_VERSION_TEXT);
Will print in console something like this:
OpenSSL 1.1.1c 28 May 2019
-
@bogong
this will output the version string at build time.
During runtime some other version could be loaded.
Use QSslSocket::sslLibraryVersionString() for this case