This PR improves the FindQt
module in two ways:
-
Ensures that the
find_package(Qt .. MODULE REQUIRED COMPONENTS ...)
call treats any missing component as a fatal error. In the master branch, only a warning is currently issued. -
Cleans up the user-facing part of the CMake cache following the migration to Qt 6. An exception (
Qt6_DIR
) is documented.