From 9fb56cfaaefef0b4e05d4bab85540b62c276518a Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 27 Jun 2016 10:56:50 +0200 Subject: Correctly detect the MSVC compiler But without a version number for now. Change-Id: I0a976ba463cff6812faf85de03a6ad003ea582f5 Reviewed-by: Oswald Buddenhagen --- configure.pri | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.pri') diff --git a/configure.pri b/configure.pri index 0a71fb3941..f2e26073c7 100644 --- a/configure.pri +++ b/configure.pri @@ -193,6 +193,9 @@ defineTest(qtConfTest_checkCompiler) { $${1}.compilerId = "icc" version = "$$system($$QMAKE_CXX -v)" $${1}.compilerVersion = $$replace(version, "icpc version ([0-9.]+).*", "\\1") + } else: msvc { + $${1}.compilerDescription = "MSVC" + $${1}.compilerId = "cl" } else { return(false) } -- cgit v1.2.3