From a76aab7b65eaef5669950e023c436e6cf4805769 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Fri, 13 Sep 2024 16:35:50 +0200 Subject: [PATCH] CMake: Improve LLVM installation instructions Fix a typo and mention the llvm package for Arch Linux. Change-Id: Ia033d0958930bd9a7d96069d3235b19f9c6d1fae Reviewed-by: Alexey Edelev (cherry picked from commit 5414cf8541e48eeea33f359e6ce201b1c78b7111) Reviewed-by: Qt Cherry-pick Bot --- configure.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.cmake b/configure.cmake index 5009360fd..80aacb466 100644 --- a/configure.cmake +++ b/configure.cmake @@ -128,7 +128,7 @@ qt_configure_add_report_entry( TYPE WARNING MESSAGE " QDoc will not be compiled, probably because clang's C and C++ libraries could not be located. -This means that you cannot build the Qt documentation. You may need to set the CMake varibles +This means that you cannot build the Qt documentation. You may need to set the CMake variables CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation. Other than clang's libraries, you may need to install another package, such as clang itself, to provide the ClangConfig.cmake file needed to detect your libraries. Once this file is in place, @@ -148,7 +148,7 @@ or On Linux, you can try installing the clang package from your distribution's package manager. On Debian / Ubuntu run `sudo apt install libclang-dev`. On Fedora / RHEL run `sudo dnf install clang-devel`. -On ArchLinux run `sudo pacman -S clang`. +On ArchLinux run `sudo pacman -S clang llvm`. Alternatively, you can use the prebuilt binaries hosted by Qt. These let you link LLVM/Clang libraries statically, but only support Release builds on Windows.