Search code examples
cmakeqt-creator

Is there anyway to stop automatic CMake execution in Qt Creator 4.0?


I like some of the new CMake features with Qt Creator 4 but it re-runs cmake any time a relevant file changes. Is there any way to stop this? There seems to be no way to tell it to wait if I'm making a batch of changes, or just saving the file to not lose my work.


Solution

  • Yes, you can. It is called Autorun CMake.

    In QtCreator just open Options -> Build & Run and go to tab CMake. Click one of the configured entries. The setting is on the bottom.

    I verified this with version 4.1 on Linux.