diff options
author | Rolland Dudemaine <rolland@ghs.com> | 2016-03-18 15:52:49 +0100 |
---|---|---|
committer | Rolland Dudemaine <rolland@ghs.com> | 2016-03-18 20:55:30 +0000 |
commit | 0fed37e2cfed18518afb607d4d7e4f243910a55c (patch) | |
tree | 6385e69aee046200fbd2e7ac0a7e161d7e994437 /src/corelib | |
parent | d58596fd61d2e18633fa716c35287678758119d5 (diff) |
Add GHS pretty print for compiler version
Change-Id: I6376de7c33b73f5efcfc7ffc7ac6ad3a260fc3a4
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/global/qlibraryinfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp index c962f1b4b7..458200180e 100644 --- a/src/corelib/global/qlibraryinfo.cpp +++ b/src/corelib/global/qlibraryinfo.cpp @@ -305,6 +305,8 @@ QLibraryInfo::buildDate() # else # define COMPILER_STRING "Clang " __clang_version__ # endif +#elif defined(Q_CC_GHS) +# define COMPILER_STRING "GHS " QT_STRINGIFY(__GHS_VERSION_NUMBER) #elif defined(Q_CC_GNU) # define COMPILER_STRING "GCC " __VERSION__ #elif defined(Q_CC_MSVC) |