我可以在 Qt Creator 4 启动时阻止 CMake 的自动运行吗? [英] Can I prevent auto-run of CMake at startup of Qt Creator 4?
问题描述
当我启动 Qt Creator (4.3) 并加载会话(或已配置的项目)时,CMake 始终至少运行一次.即使我按照这个 answer 中的说明禁用了 CMake 的自动运行.缓存已经存在,因为我在需要时手动运行 CMake.
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.
如何让 Qt Creator 从不自动运行 CMake?
How can I make Qt Creator to never run CMake automatically ?
推荐答案
你不能.
Qt Creator 4.3 使用 cmake 服务器模式从 cmake 中获取信息.为此,它需要启动 cmake,然后需要配置和生成以获取所有 I 格式,然后将其传递给 Qt Creator.
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.
这篇关于我可以在 Qt Creator 4 启动时阻止 CMake 的自动运行吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!