|
|
|
@ -44,6 +44,7 @@
@@ -44,6 +44,7 @@
|
|
|
|
|
#include <boost/version.hpp> |
|
|
|
|
#include <openssl/opensslv.h> |
|
|
|
|
#include <libtorrent/version.hpp> |
|
|
|
|
#include <zlib.h> |
|
|
|
|
|
|
|
|
|
#include <QCoreApplication> |
|
|
|
|
#include <QRegularExpression> |
|
|
|
@ -463,6 +464,13 @@ QString Utils::Misc::opensslVersionString()
@@ -463,6 +464,13 @@ QString Utils::Misc::opensslVersionString()
|
|
|
|
|
return version.split(' ', QString::SkipEmptyParts)[1]; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
QString Utils::Misc::zlibVersionString() |
|
|
|
|
{ |
|
|
|
|
// static initialization for usage in signal handler
|
|
|
|
|
static const QString version {ZLIB_VERSION}; |
|
|
|
|
return version; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#ifdef Q_OS_WIN |
|
|
|
|
QString Utils::Misc::windowsSystemPath() |
|
|
|
|
{ |
|
|
|
|