summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.pri3
1 files changed, 3 insertions, 0 deletions
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)
}