diff options
author | Lars Knoll <lars.knoll@qt.io> | 2016-06-27 10:56:50 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2016-07-01 07:32:07 +0000 |
commit | 9fb56cfaaefef0b4e05d4bab85540b62c276518a (patch) | |
tree | 2f79e6070c980e48f6fc80808f00119a143a17fc /configure.pri | |
parent | 2f4ce3b7782bb5a42506f731b7e45a93a1e5ace0 (diff) |
Correctly detect the MSVC compiler
But without a version number for now.
Change-Id: I0a976ba463cff6812faf85de03a6ad003ea582f5
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'configure.pri')
-rw-r--r-- | configure.pri | 3 |
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) } |