Add the detection of MSVC 2019 for QLibraryInfo

Change-Id: Ie3ea1cdae60bf0d7dd89a0ab84146c8370559a29
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Friedemann Kleint 2019-08-14 15:13:01 +02:00
parent 08192d6097
commit 052ea993ad

View File

@ -322,8 +322,10 @@ QLibraryInfo::buildDate()
#elif defined(Q_CC_MSVC)
# if _MSC_VER < 1910
# define COMPILER_STRING "MSVC 2015"
# elif _MSC_VER < 2000
# elif _MSC_VER < 1917
# define COMPILER_STRING "MSVC 2017"
# elif _MSC_VER < 2000
# define COMPILER_STRING "MSVC 2019"
# else
# define COMPILER_STRING "MSVC _MSC_VER " QT_STRINGIFY(_MSC_VER)
# endif