diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-01-04 14:33:06 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-01-08 04:52:43 +0000 |
commit | b096c53d593a313a6372bffb35f45cdc0e1ffd21 (patch) | |
tree | 31b9eb39439c6fb0055c167b1105489728ae6bbf /src/corelib/global/qlibraryinfo.cpp | |
parent | 78f234d5dd7face13dd88fd777fa27497590b34d (diff) |
QtCore: Raise minimum supported MSVC version to 2015
Remove code for older versions and streamline #ifdefs.
Task-number: QTBUG-51673
Change-Id: I211703189ff12f827d94914093369736b6e65d4a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qlibraryinfo.cpp')
-rw-r--r-- | src/corelib/global/qlibraryinfo.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp index b4ba0b5b2e..422d08f32c 100644 --- a/src/corelib/global/qlibraryinfo.cpp +++ b/src/corelib/global/qlibraryinfo.cpp @@ -318,15 +318,7 @@ QLibraryInfo::buildDate() #elif defined(Q_CC_GNU) # define COMPILER_STRING "GCC " __VERSION__ #elif defined(Q_CC_MSVC) -# if _MSC_VER < 1600 -# define COMPILER_STRING "MSVC 2008" -# elif _MSC_VER < 1700 -# define COMPILER_STRING "MSVC 2010" -# elif _MSC_VER < 1800 -# define COMPILER_STRING "MSVC 2012" -# elif _MSC_VER < 1900 -# define COMPILER_STRING "MSVC 2013" -# elif _MSC_VER < 1910 +# if _MSC_VER < 1910 # define COMPILER_STRING "MSVC 2015" # elif _MSC_VER < 2000 # define COMPILER_STRING "MSVC 2017" |