编辑 Qbs 配置文件

要查看与套件关联的 Qbs 配置文件,请选择首选项>Qbs >Profiles

Qbs 偏好设置中的 "配置文件 "选项卡

您可以在配置文件中添加键和值或从中删除它们,也可以修改现有值。有关可用键和值的列表,请参阅《Qbs 手册》中的模块列表

编辑与套件关联的 Qbs 配置文件:

  1. 首选项>Kits 中,选择工具包,然后选择Qbs profile additions 旁边的Change ,打开Custom Properties 对话框。

    自定义属性对话框

  2. 双击Key 列中的空白单元格,指定要添加或修改的密钥:<module_name>.<property_name>.
  3. 双击Value 列中同一行的单元格,将值指定为 JSON 字面。
  4. 选择Add 添加键值对。
  5. 选择OK

要修改现有值,请双击Value 字段中的该值。

要删除所选属性,请选择Remove

另请参阅 为项目激活工具包添加 工具包工具包

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.