summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2018-12-13 16:47:59 +0100
committerPaul Wicking <paul.wicking@qt.io>2018-12-14 13:55:05 +0000
commitb309d4a67934454e64bb93a291e477797051ab8e (patch)
tree9fe5abf463e0005bac248d5cecdefae97e4bc2ba
parente181ec2c20ede6b878187f3123d190e8b952deb1 (diff)
Replace error() with qtLog() in checks for libclang for QDoc
Change-Id: I606b0288d08ccb6a5fc19bc950aee161cb6a96c5 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
-rw-r--r--src/qdoc/configure.pri4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qdoc/configure.pri b/src/qdoc/configure.pri
index 859bd3731..1d79230e1 100644
--- a/src/qdoc/configure.pri
+++ b/src/qdoc/configure.pri
@@ -87,14 +87,14 @@ defineTest(qtConfTest_libclang) {
}
isEmpty(CLANG_VERSION) {
!isEmpty(LLVM_INSTALL_DIR): \
- error("Cannot determine clang version at $${clangInstallDir}.")
+ qtLog("Cannot determine version of clang installation in $${clangInstallDir}.")
return(false)
}
LIBCLANG_MAIN_HEADER = $$CLANG_INCLUDEPATH/clang-c/Index.h
!exists($$LIBCLANG_MAIN_HEADER) {
!isEmpty(LLVM_INSTALL_DIR): \
- error("Cannot find libclang's main header file, candidate: $${LIBCLANG_MAIN_HEADER}.")
+ qtLog("Cannot find libclang's main header file, candidate: $${LIBCLANG_MAIN_HEADER}.")
return(false)
}