mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-09 12:40:43 +00:00
Write build and other identifying information to the beginning of the debug log.
This commit is contained in:
parent
a2232d4b61
commit
91bf0d097e
@ -22,6 +22,7 @@
|
||||
#include <QProgressDialog>
|
||||
|
||||
#include "version.h"
|
||||
#include "git_info.h"
|
||||
#include "logger.h"
|
||||
#include "mainwindow.h"
|
||||
#include "SleepLib/profiles.h"
|
||||
@ -348,6 +349,9 @@ int main(int argc, char *argv[]) {
|
||||
#endif
|
||||
relinfo = "("+QSysInfo::kernelType()+" "+QSysInfo::currentCpuArchitecture()+relinfo+")";
|
||||
qDebug() << STR_AppName.toLocal8Bit().data() << VersionString.toLocal8Bit().data() << relinfo.toLocal8Bit().data() << "built with Qt" << QT_VERSION_STR << "on" << __DATE__ << __TIME__;
|
||||
qDebug() << "Branch" << GIT_BRANCH.toLocal8Bit().data() << "Revision" << GIT_REVISION.toLocal8Bit().data();
|
||||
qDebug() << "Built on" << QSysInfo::machineHostName().toLocal8Bit().data() << "running" << QSysInfo::prettyProductName().toLocal8Bit().data();
|
||||
qDebug() << "Graphics Engine:" << getGraphicsEngine().toLocal8Bit().data();
|
||||
if (forcedEngine != "")
|
||||
qDebug() << forcedEngine;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user