Skip to content

Commit a76aab7

Browse files
joborQt Cherry-pick Bot
authored andcommitted
CMake: Improve LLVM installation instructions
Fix a typo and mention the llvm package for Arch Linux. Change-Id: Ia033d0958930bd9a7d96069d3235b19f9c6d1fae Reviewed-by: Alexey Edelev <[email protected]> (cherry picked from commit 5414cf8) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
1 parent 7abfa57 commit a76aab7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ qt_configure_add_report_entry(
128128
TYPE WARNING
129129
MESSAGE "
130130
QDoc will not be compiled, probably because clang's C and C++ libraries could not be located.
131-
This means that you cannot build the Qt documentation. You may need to set the CMake varibles
131+
This means that you cannot build the Qt documentation. You may need to set the CMake variables
132132
CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation.
133133
Other than clang's libraries, you may need to install another package, such as clang itself, to
134134
provide the ClangConfig.cmake file needed to detect your libraries. Once this file is in place,
@@ -148,7 +148,7 @@ or
148148
On Linux, you can try installing the clang package from your distribution's package manager.
149149
On Debian / Ubuntu run `sudo apt install libclang-dev`.
150150
On Fedora / RHEL run `sudo dnf install clang-devel`.
151-
On ArchLinux run `sudo pacman -S clang`.
151+
On ArchLinux run `sudo pacman -S clang llvm`.
152152
153153
Alternatively, you can use the prebuilt binaries hosted by Qt.
154154
These let you link LLVM/Clang libraries statically, but only support Release builds on Windows.

0 commit comments

Comments
 (0)