Skip to content

Commit 5414cf8

Browse files
committed
CMake: Improve LLVM installation instructions
Fix a typo and mention the llvm package for Arch Linux. Pick-to: 6.8 Change-Id: Ia033d0958930bd9a7d96069d3235b19f9c6d1fae Reviewed-by: Alexey Edelev <[email protected]>
1 parent a713c0a commit 5414cf8

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
@@ -113,7 +113,7 @@ qt_configure_add_report_entry(
113113
TYPE WARNING
114114
MESSAGE "
115115
QDoc will not be compiled, probably because clang's C and C++ libraries could not be located.
116-
This means that you cannot build the Qt documentation. You may need to set the CMake varibles
116+
This means that you cannot build the Qt documentation. You may need to set the CMake variables
117117
CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation.
118118
Other than clang's libraries, you may need to install another package, such as clang itself, to
119119
provide the ClangConfig.cmake file needed to detect your libraries. Once this file is in place,
@@ -133,7 +133,7 @@ or
133133
On Linux, you can try installing the clang package from your distribution's package manager.
134134
On Debian / Ubuntu run `sudo apt install libclang-dev`.
135135
On Fedora / RHEL run `sudo dnf install clang-devel`.
136-
On ArchLinux run `sudo pacman -S clang`.
136+
On ArchLinux run `sudo pacman -S clang llvm`.
137137
138138
Alternatively, you can use the prebuilt binaries hosted by Qt.
139139
These let you link LLVM/Clang libraries statically, but only support Release builds on Windows.

0 commit comments

Comments
 (0)