Log Qt version on startup

This commit is contained in:
Jonas Kvinge 2022-01-08 21:33:14 +01:00
parent eb48592083
commit 80fd8cd338
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ int main(int argc, char *argv[]) {
#endif
// Output the version, so when people attach log output to bug reports they don't have to tell us which version they're using.
qLog(Info) << "Strawberry" << STRAWBERRY_VERSION_DISPLAY;
qLog(Info) << "Strawberry" << STRAWBERRY_VERSION_DISPLAY << "Qt" << QLibraryInfo::version().toString();
qLog(Info) << QString("%1 %2 - (%3 %4) [%5]").arg(QSysInfo::prettyProductName(), QSysInfo::productVersion(), QSysInfo::kernelType(), QSysInfo::kernelVersion(), QSysInfo::currentCpuArchitecture());
// Seed the random number generators.