Details
-
User Story
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
-
None
Description
When configuring a project fails, detect situations where the situation can be mitigated by installing a Qt Online Installer package.
Example workflow
Configuring a WebEngine example might fail with
[cmake] CMake Error at CMakeLists.txt:16 (find_package): [cmake] Found package configuration file: [cmake] [cmake] C:/Qt/6.9.0/msvc2022_64/lib/cmake/Qt6/Qt6Config.cmake [cmake] [cmake] but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT [cmake] FOUND. Reason given by package: [cmake] [cmake] Failed to find required Qt component "WebEngineWidgets". [cmake] [cmake] Expected Config file at [cmake] "C:/Qt/6.9.0/msvc2022_64/lib/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsConfig.cmake" [cmake] does NOT exist
Qt Creator could detect this, and look up which package installs C:/Qt/6.9.0/msvc2022_64/lib/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsConfig.cmake (in this case, extensions.qtwebengine.681.win64_msvc2022_64).