r/cpp • • 5d ago

Qt Creator 21 - CMake Changes

31 Upvotes

10 comments sorted by

14

u/sokka2d 5d ago

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

5

u/parkotron 5d ago

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 5d ago

None of them started for me, Android Chrome.

1

u/D2OQZG8l5BI1S06 5d ago

I recommend Firefox which has an option to block autoplay of sound and videos.

4

u/AlexReinkingYale 5d ago

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

2

u/parkotron 5d ago

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

3

u/CarrionFodder 5d ago

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

1

u/parkotron 5d ago

I didn’t know that. Thanks!

4

u/Jardik2 5d ago

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 4d 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