OpenSSL version in console. How?
-
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