Log Qt version on startup
This commit is contained in:
@@ -168,7 +168,7 @@ int main(int argc, char *argv[]) {
|
|||||||
#endif
|
#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.
|
// 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());
|
qLog(Info) << QString("%1 %2 - (%3 %4) [%5]").arg(QSysInfo::prettyProductName(), QSysInfo::productVersion(), QSysInfo::kernelType(), QSysInfo::kernelVersion(), QSysInfo::currentCpuArchitecture());
|
||||||
|
|
||||||
// Seed the random number generators.
|
// Seed the random number generators.
|
||||||
|
|||||||
Reference in New Issue
Block a user