summaryrefslogtreecommitdiff
path: root/CompilerInfo.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2013-03-21 11:01:59 +0100
committerThomas Preud'homme <robotux@celest.fr>2013-03-21 11:01:59 +0100
commite297dbd8052ef4e66f069e2dd1865ae7fa8af28e (patch)
tree342fea0a2f6f33b8b62dad2d1729f8209da1a1ba /CompilerInfo.h
parent8f9f382e1c97cab2e72e97495650c73ac4b97314 (diff)
Imported Upstream version 0.3.1.0
Diffstat (limited to 'CompilerInfo.h')
-rw-r--r--CompilerInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/CompilerInfo.h b/CompilerInfo.h
index 5209988..6cc079b 100644
--- a/CompilerInfo.h
+++ b/CompilerInfo.h
@@ -7,7 +7,7 @@
/// \def COMPILERINFO the string to identify the compiler
#if defined(Q_CC_GNU)
- #define COMPILERINFO QString("GCC build: ")+__DATE__+" "+__TIME__
+ #define COMPILERINFO QString("GCC %1.%2.%3 build: ").arg(__GNUC__).arg(__GNUC_MINOR__).arg(__GNUC_PATCHLEVEL__)+__DATE__+" "+__TIME__
#else
#if defined(__DATE__) && defined(__TIME__)
#define COMPILERINFO QString("Unknow compiler: ")+__DATE__+" "+__TIME__