Skip to content

Commit

Permalink
Update information
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Nov 6, 2024
1 parent 21785ef commit 9f5d9c8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Src/RabbitCommonTools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,12 @@ QString CTools::Information()
#if (QT_VERSION >= QT_VERSION_CHECK(5, 4, 3))
szInfo += " - Qt " + QObject::tr("Build Version: ") + QSslSocket::sslLibraryBuildVersionString() + "\n";
#endif
szInfo += " - " + QObject::tr("Installed Version: ") + QSslSocket::sslLibraryVersionString() + "\n";
szInfo += " - Qt " + QObject::tr("Installed Version: ") + QSslSocket::sslLibraryVersionString() + "\n";
} else {
#if (QT_VERSION >= QT_VERSION_CHECK(5, 4, 3))
szInfo += " - Qt " + QObject::tr("Build Version: ") + QSslSocket::sslLibraryBuildVersionString() + "\n";
#endif
szInfo += " - " + QObject::tr("Don't install OPENSSL dynamic library. Please install it") + "\n";
szInfo += " - Qt " + QObject::tr("Don't install OPENSSL dynamic library. Please install it") + "\n";
}
#if HAVE_StackWalker
szInfo += QObject::tr(" - StackWalker") + "\n";
Expand Down Expand Up @@ -359,6 +359,8 @@ void CTools::Init(QString szApplicationName,
CStyle::Instance()->LoadStyle();

CInformation info("RabbitCommon, Qt and System information:", "");
#else
qDebug(log) << "RabbitCommon:" << "\n" << Information();
#endif //HAVE_RABBITCOMMON_GUI
}

Expand Down

0 comments on commit 9f5d9c8

Please sign in to comment.