forked from qt-creator/qt-creator
Core: Report MSVC 2019 when built with MSVC 2019
Change-Id: I1c360b76d6d9f9b59e2ce563c5ca9a9c7fdeafa1 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -438,6 +438,8 @@ static QString compilerString()
|
||||
#elif defined(Q_CC_MSVC)
|
||||
if (_MSC_VER > 1999)
|
||||
return QLatin1String("MSVC <unknown>");
|
||||
if (_MSC_VER >= 1920)
|
||||
return QLatin1String("MSVC 2019");
|
||||
if (_MSC_VER >= 1910)
|
||||
return QLatin1String("MSVC 2017");
|
||||
if (_MSC_VER >= 1900)
|
||||
|
Reference in New Issue
Block a user