From 2954d51579755ea76292f50b4f6d5cd010050fb4 Mon Sep 17 00:00:00 2001 From: Marcel Krems Date: Tue, 11 Mar 2014 20:34:41 +0100 Subject: [PATCH] Add compiler name for Clang in QLibraryInfo::build() Change-Id: I88490f01edc00f5d3c9570fa630915a11c843311 Reviewed-by: Friedemann Kleint --- src/corelib/global/qlibraryinfo.cpp | 4 ++-- 1 file 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__