配置 C++ 代码模型

代码模型提供代码补全、语法和语义高亮以及诊断等服务。

要为项目配置 C++ 代码模型:

  1. 转到“Projects ” > “Project Settings ” > “C++ Code Model ”。

    C++ 代码模型设置

  2. 清除“Use global settings ”选项。
  3. 为该项目设置“C++ Code Model ”相关设置。

另请参阅 “代码模型”。

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.