summaryrefslogtreecommitdiffstats
path: root/mkspecs/features
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2018-01-05 09:51:42 +0100
committerKai Koehne <kai.koehne@qt.io>2018-01-09 10:12:27 +0000
commit0c240cbdef791b507b018fbccc76bc345b5bd712 (patch)
tree0812fcf394492b90adb7e13b43ee8fa8a160d54f /mkspecs/features
parentf1e174860fed0d83e6150b041f756c947442e3ad (diff)
Fix log output of qt_find_clang
Properly escape the qmake variable names, and use clangInstallDir in case llvm/clang was autodetected on Linux. Change-Id: I6d53364fc15d2b1ac960bf05b94227ac4d76bf79 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'mkspecs/features')
-rw-r--r--mkspecs/features/qt_find_clang.prf4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkspecs/features/qt_find_clang.prf b/mkspecs/features/qt_find_clang.prf
index 827313129..75d2cf58f 100644
--- a/mkspecs/features/qt_find_clang.prf
+++ b/mkspecs/features/qt_find_clang.prf
@@ -88,8 +88,8 @@ for(_, $$list(_)) { # just a way to break easily
CLANG_LIBS += -lclang
!versionIsAtLeast($$CLANG_VERSION, "3.9.0") {
- log("LLVM/Clang version >= 3.9.0 required, version provided: $$CLANG_VERSION.$$escape_expand(\\n)")
- log("Clang was found in $$LLVM_INSTALL_DIR. Set the LLVM_INSTALL_DIR environment variable to override.$$escape_expand(\\n)")
+ log("LLVM/Clang version >= 3.9.0 required, version provided: $${CLANG_VERSION}.$$escape_expand(\\n)")
+ log("Clang was found in $${clangInstallDir}. Set the LLVM_INSTALL_DIR environment variable to override.$$escape_expand(\\n)")
break()
}