diff options
author | Marcel Krems <m.krems@software-vision.eu> | 2014-03-11 20:34:41 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-14 18:26:03 +0100 |
commit | 2954d51579755ea76292f50b4f6d5cd010050fb4 (patch) | |
tree | 3e8c833110377b29f62e806ec691b35b4bed4b3c /src/corelib | |
parent | ecb7fd9ff76d13ebffbc79c67aee38efe562a482 (diff) |
Add compiler name for Clang in QLibraryInfo::build()
Change-Id: I88490f01edc00f5d3c9570fa630915a11c843311
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/global/qlibraryinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp index 689de48e26..39bfd339c3 100644 --- a/src/corelib/global/qlibraryinfo.cpp +++ b/src/corelib/global/qlibraryinfo.cpp @@ -257,9 +257,9 @@ QLibraryInfo::buildDate() #if defined(Q_CC_CLANG) // must be before GNU, because clang claims to be GNU too # ifdef __apple_build_version__ // Apple clang has other version numbers -# define COMPILER_STRING __clang_version__ " (Apple)" +# define COMPILER_STRING "Clang " __clang_version__ " (Apple)" # else -# define COMPILER_STRING __clang_version__ +# define COMPILER_STRING "Clang " __clang_version__ # endif #elif defined(Q_CC_GNU) # define COMPILER_STRING "GCC " __VERSION__ |