Qt Creator 10 supports configure and build presets (no test presets) up to 
version 5.

Any changes to the presets would require the deletion of the 
CMakeLists.txt.user file and the associated generated Kit presets.
Currently there is no better way.  Expect updates for the workflow in a future 
Qt Creator Version.

For CMakePresets usage have a look at Qt Creator 9 - 
CMakePresets<https://www.qt.io/blog/qt-creator-9-cmakepresets> and Qt Creator 
10 - CMake update<https://www.qt.io/blog/qt-creator-10-cmake-update>.

Cheers,
Cristian

________________________________
From: Qt-creator <qt-creator-boun...@qt-project.org> on behalf of Michael 
Jackson <mike.jack...@bluequartz.net>
Sent: Monday, April 3, 2023 21:57
To: QtCreator List <qt-creator@qt-project.org>
Subject: [Qt-creator] QtCreator 10 and CMakePresets

Is QtCreator 10’s use of CMakePresets the “configure” preset or the “build” 
preset? I can’t really figure it out? Is it using the display name or the 
“name” in the preset? Does it honor the “inherits” property of a preset?

And when I rename the presets (in an attempt to make the preset more obvious) 
how do I inform QtCreator that those names have changed? At the moment I am 
blowing away all the build directories and the CMakelists.txt.user file and 
re-opening the project. Is there a better way?
—
Mike Jackson
-- 
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator

Reply via email to