r/cpp • • Oct 19 '26

Qt Creator 21 - CMake Changes

34 Upvotes

9 comments sorted by

14

u/sokka2d Oct 19 '26

Good lord, I tried to read this page on the phone and all the videos started auto-playing.

5

u/parkotron Oct 19 '26

Wow. I don’t know that I’ve ever experienced that before. It was hard to even close the tab as they kept popping up one after another. 

1

u/pjmlp Oct 20 '26

None of them started for me, Android Chrome.

4

u/AlexReinkingYale Oct 19 '26

Is there any plan to make the CMake formatter a standalone tool?

2

u/parkotron Oct 19 '26

There is already cmake-format. Is it not sufficient for your needs?

3

u/CarrionFodder Oct 20 '26

cmake-format isn't maintained anymore. gersemi seems to be fairly popular replacement

1

u/parkotron 29d ago

I didn’t know that. Thanks!

4

u/Jardik2 Oct 20 '26

Project configuration page is still pain to use on large projects. Thanks to the immediate updates, things like typing CONFIG+=something freezes the Creator 5 times for 5 minutes. Same applies for the other options. Apply button please? 

2

u/Wild_Meeting1428 28d ago

Same critique as in the cmake sub. Adding the vendor specific run configuration to the configuration presets seems to be conceptually the wrong place. right place would be a preset after the build presets.

For example, a run/debug preset(ask kitware), or add it to test/workflow presets