Correctly detect the MSVC compiler
But without a version number for now. Change-Id: I0a976ba463cff6812faf85de03a6ad003ea582f5 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
parent
2f4ce3b778
commit
9fb56cfaae
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user