1
0
Fork 0
forked from len0rd/rockbox

Add information about compiler used to startup log.

Change-Id: I47442ea0458461d0ae0a1af40e7719f8543b1992
This commit is contained in:
Dominik Riebeling 2015-03-25 22:02:19 +01:00
parent 09a25deeea
commit d1598cfa85

View file

@ -71,6 +71,15 @@ RbUtilQt::RbUtilQt(QWidget *parent) : QMainWindow(parent)
LOG_INFO() << "======================================";
LOG_INFO() << "Rockbox Utility" << VERSION;
LOG_INFO() << "Qt version:" << qVersion();
#if defined(__clang__)
LOG_INFO("compiled using clang %i.%i.%i",
__clang_major__, __clang_minor__, __clang_patchlevel__);
#elif defined(__GNUC__)
LOG_INFO("compiled using gcc %i.%i.%i",
__GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__);
#elif defined(_MSC_VER)
LOG_INFO("compiled using MSVC %s", _MSC_FULL_VER);
#endif
LOG_INFO() << "======================================";
absolutePath = qApp->applicationDirPath();