Qbs
要使用 Qbs 构建项目,必须为项目创建 .qbs 文件。您可以使用Qt Creator 创建使用 Qbs 构建的 C 或 C++ 项目。有关 Qbs 的更多信息,请参阅《Qbs 手册》。
应用程序将使用与构建和运行工具包关联的默认 Qbs 配置文件构建。Qt Creator 会自动为每个工具包创建一个 Qbs 配置文件。您可以通过添加新的键和值来编辑构建配置文件。
要查看正在使用的 Qbs 版本,请选择首选项>Qbs >General 。
构建 Qbs
如果从Qt Creator Git 仓库自行构建Qt Creator ,还需要获取 Qbs 子模块以获得 Qbs 支持:
- 在Qt Creator git 签出中获取 Qbs 子模块,
git submodule update --init
。 - 在Qt Creator 上运行 qmake 并再次构建Qt Creator 。
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.