Save the _MSC_VER variable instead of <unknown version>
That way, for future or old versions, we at least will know which version it is. For example, for MSVC "14.0" (compiler version 19), it produces "MSVC _MSC_VER 1900". Change-Id: I86dcaea8e4b23bd052288cea5663b267da31c890 Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
parent
2e038d681c
commit
7a848d5f13
@ -305,7 +305,7 @@ QLibraryInfo::buildDate()
|
||||
# elif _MSC_VER < 1900
|
||||
# define COMPILER_STRING "MSVC 2013"
|
||||
# else
|
||||
# define COMPILER_STRING "MSVC <unknown version>"
|
||||
# define COMPILER_STRING "MSVC _MSC_VER " QT_STRINGIFY(_MSC_VER)
|
||||
# endif
|
||||
#else
|
||||
# define COMPILER_STRING "<unknown compiler>"
|
||||
|
Loading…
Reference in New Issue
Block a user