问题
When I start Qt Creator (4.3) and load a session (or a project already configured), CMake is always run at least once. Even if I disabled the autorun of CMake as said in this answer. The cache is already there because I manually run CMake when needed.
How can I make Qt Creator to never run CMake automatically ?
回答1:
You can't.
Qt Creator 4.3 uses cmake server-mode to get information out of cmake. For that it needs to start cmake, which in turn will need to configure and generate to fetch all the I formation it then passes on to Qt Creator.
The information stored on disk is not sufficient.
来源:https://stackoverflow.com/questions/46159987/can-i-prevent-auto-run-of-cmake-at-startup-of-qt-creator-4