Can I prevent auto-run of CMake at startup of Qt Creator 4?

点点圈 提交于 2021-01-29 14:17:52

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!