Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 17.0.0-beta1
-
None
Description
When looking up a non-existing Qt6 component, the error that is now displayed in Qt Creator 17 does not show the original CMakeFile.txt line that causes this, but instead point to /maintenance_tool_provider.cmake:
find_package(Qt6 REQUIRED COMPONENTS DoesNotExist)
Will result in
[cmake] CMake Error at build/Qt_6_9_0_for_macOS-Debug/.qtc/package-manager/maintenance_tool_provider.cmake:261 (find_package): [cmake] Found package configuration file: [cmake] [cmake] /Users/kkoehne/Qt/6.9.0/macos/lib/cmake/Qt6/Qt6Config.cmake [cmake] [cmake] but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT [...]
Is this not helpful for the user, who now has to search manually in the project for the find_package() call.
Is there a way to tweak the error message to actually point to the original find_package() line?