diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2015-03-25 22:02:19 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2015-05-02 16:52:14 +0200 |
commit | d1598cfa85527e37550c57e51fe81f039e6760e7 (patch) | |
tree | c784d9bface3e778c2ff5041c0df299d92ad1b19 /rbutil/rbutilqt | |
parent | 09a25deeeabcde6a48fe572cea8ea7bf35635100 (diff) |
Add information about compiler used to startup log.
Change-Id: I47442ea0458461d0ae0a1af40e7719f8543b1992
Diffstat (limited to 'rbutil/rbutilqt')
-rw-r--r-- | rbutil/rbutilqt/rbutilqt.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp index 4c06163404..869e19a9fc 100644 --- a/rbutil/rbutilqt/rbutilqt.cpp +++ b/rbutil/rbutilqt/rbutilqt.cpp @@ -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(); |