diff --git a/configure.pri b/configure.pri index 9dd2f053ff6..0a71fb3941c 100644 --- a/configure.pri +++ b/configure.pri @@ -176,7 +176,7 @@ defineTest(qtConfTest_checkCompiler) { contains(versionstr, "^Apple (clang|LLVM) version .*") { $${1}.compilerDescription = "Apple Clang" $${1}.compilerId = "apple_clang" - $${1}.compilerVersion = $$replace(versionstr, "^Apple (clang|LLVM) version ([0-9.]+).*$", "\\1") + $${1}.compilerVersion = $$replace(versionstr, "^Apple (clang|LLVM) version ([0-9.]+).*$", "\\2") } else: contains(versionstr, ".*clang version.*") { $${1}.compilerDescription = "Clang" $${1}.compilerId = "clang"