mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
Print ssl library version only on Qt >=5.0.0.
This commit is contained in:
parent
d4e0941c27
commit
3e3ca14b4c
1 changed files with 5 additions and 1 deletions
|
@ -544,7 +544,11 @@ void SyncEngine::startSync()
|
|||
qDebug() << "=====sync with existing DB";
|
||||
}
|
||||
|
||||
qDebug() << "=====Using Qt" << qVersion() << "with" << QSslSocket::sslLibraryVersionString().toUtf8().data();
|
||||
qDebug() << "=====Using Qt" << qVersion();
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
|
||||
qDebug() << "=====Using SSL library version"
|
||||
<< QSslSocket::sslLibraryVersionString().toUtf8().data();
|
||||
#endif
|
||||
// Note that this seems to output the OpenSSL build version not runtime version:
|
||||
qDebug() << "=====Using" << ne_version_string();
|
||||
|
||||
|
|
Loading…
Reference in a new issue