Skip to content

fix: Fixing qt package not found error during cmake step by adding th…#441

Open
andreiribas wants to merge 1 commit intokavishdevar:mainfrom
andreiribas:fix-installation-on-linux-ubuntu-25.10-questing
Open

fix: Fixing qt package not found error during cmake step by adding th…#441
andreiribas wants to merge 1 commit intokavishdevar:mainfrom
andreiribas:fix-installation-on-linux-ubuntu-25.10-questing

Conversation

@andreiribas
Copy link

@andreiribas andreiribas commented Jan 31, 2026

…e correct package for ubuntu 25.10 questing<

For Ubuntu 25.10 questing, I got an error saying that it could not find a qt dependency while executing the cmake step:

main ~/apps/librepods/linux/build> cmake ..
-- Could NOT find Qt6LinguistTools (missing: Qt6LinguistTools_DIR)
CMake Error at CMakeLists.txt:7 (find_package):
Found package configuration file:

/usr/lib/x86_64-linux-gnu/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/x86_64-linux-gnu/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.

-- Configuring incomplete, errors occurred!
exit 1

I fixed it installing the package sudo apt install qt6-tools-dev

Summary by CodeRabbit

  • Documentation
    • Updated Linux Debian installation instructions with an additional Qt6 development package for comprehensive build support.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Jan 31, 2026

📝 Walkthrough

Walkthrough

Updated Debian installation commands in the Linux documentation by appending qt6-tools-dev to the list of Qt6 module packages. Single line modification to the README file with no functional code changes.

Changes

Cohort / File(s) Summary
Linux Setup Documentation
linux/README.md
Added qt6-tools-dev package to the Debian Qt6 module installation commands.
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically identifies the main change: adding qt6-tools-dev package to fix Qt package discovery issue during CMake configuration.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant