Update building-linux.md

without qt6-tools in Arch Linux, 

the following error occurs when calling cmake -S . -B build/ -DENABLE_QT_GUI=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++:

-- Could NOT find Qt6LinguistTools (missing: Qt6LinguistTools_DIR)
CMake Error at CMakeLists.txt:200 (find_package):
  Found package configuration file:

    /usr/lib/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find required Qt component "LinguistTools".

  Expected Config file at
  "/usr/lib/cmake/Qt6LinguistTools/Qt6LinguistToolsConfig.cmake" does NOT
  exist



  Configuring with --debug-find-pkg=Qt6LinguistTools might reveal details why
  the package was not found.

  Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
  of the path variables that find_package uses to try and find the package.
This commit is contained in:
Mathieu Acher 2025-02-22 22:04:35 +01:00 committed by GitHub
parent 0aaeea4837
commit 5e0d280d3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,7 @@ sudo dnf install clang git cmake libatomic alsa-lib-devel \
```bash ```bash
sudo pacman -S base-devel clang git cmake sndio jack2 openal \ sudo pacman -S base-devel clang git cmake sndio jack2 openal \
qt6-base qt6-declarative qt6-multimedia sdl2 \ qt6-base qt6-tools qt6-declarative qt6-multimedia sdl2 \
vulkan-validation-layers libpng vulkan-validation-layers libpng
``` ```