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.