Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
Qt Creator 9.0.0-rc1
-
None
-
-
9deef74d9 (9.0)
Description
Bug QTCREATORBUG-28360 is now fixed, which allows for using the "inherits" key in CMakePreset.json. This is a great improvment. However, multi-level inheritance is not supported by Qt Creator, though it is by CMake command line tool (cmake --preset).
This CMakePreset.json file is not correctly parsed by Qt Creator:
{
"version": 3,
"configurePresets": [
},
{ "name": "father", "hidden": true, "inherits": "grandfather" },
{ "name": "child", "inherits": "father" }]}
The environment variable "MYVAR" is set in the "father" preset, but not in the "child" preset.
Attachments
For Gerrit Dashboard: QTCREATORBUG-28498 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
445464,2 | CMakePM: Allow presets inherits for deeper hierarchies | 9.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |