[Qt-creator] What to click after changes in CMake project files?

Richard Weickelt richard at weickelt.de
Wed Nov 25 09:09:22 CET 2020


There are several options to run CMake in QtCreator:

- Apply Configuration Changes in the build settings pane
- Clear CMake configuration
- Run CMake
- Rescan project

I am a bit lost. I would expect that QtCreator would figure out
automatically when something in the project files has changed and re-resolve
the project as necessary, but that doesn't seem to be the case.

After doing a significant changes to some CMake project files (introducing
new config variables, adding source files, adding dependencies), what do I
need to click in which order so that the next build takes all changes into
account?

Thanks
Richard



More information about the Qt-creator mailing list