Autotools
Qt Creator 可以打开使用 Autotools 构建系统的项目。您可以直接从 上构建和运行项目。Qt Creator
注意: 启用 AutotoolsProjectManager 插件才能使用。
使用 Autotools 项目
要在Qt Creator 中使用 Autotools 项目:
- 选择File >Open File or Project 。
- 选择项目中的 Makefile.am 文件。这是使用 autotools 插件的唯一方法。
- 选择构建目录。目前只支持源代码内构建。
- 选择Finish 。Qt Creator 显示项目树结构。根节点显示项目名称。下面列出了所有项目文件,可以从列表中打开它们。
- 选择
(Run) 执行预定义的构建步骤 (
autogen.sh
或autoreconf
,configure
和make
)。首次运行应用程序时必须选择可执行文件。
- 要检查和编辑 autotools 构建步骤,请选择Projects >Build Settings 。
您可以向预定义的 autotools 构建步骤添加参数。
另请参阅 启用和禁用插件。
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.