Details
-
User Story
-
Resolution: Fixed
-
P1: Critical
-
None
-
None
-
1aedfaa2f (dev), 09d9dc109 (dev)
Description
As a developer, I want to load and build existing Qt projects that use CMake.
Similar to what we have in Qt VS Tools, we detect whether the project uses Qt and create CMakePresets.json and CMakeUserPresets.json. Handle the situation gracefully where such files already exist.
The known Qt versions are referenced in the presets.
The default Qt version is used for the default preset.
Alternatively to presets we might just modify cmake.configureSettings in the settings.json of the workspace:
{ "cmake.configureSettings": { "CMAKE_PREFIX_PATH": ["~/Qt/6.5.0/gcc_64"] } }
Attachments
Issue Links
- depends on
-
VSCODEEXT-4 Registry for Qt installations
- Closed
- is required for
-
VSCODEEXT-8 run existing Qt projects
- Closed
- relates to
-
VSCODEEXT-41 Add CMake kits
- Closed