指定构建和运行设置
若要覆盖当前项目的构建和运行设置:
- 转到“Projects ” > “Project Settings ” > “Building and Running ”。

- 清除“Use global settings ”。
- 为该项目指定构建和运行设置。
您的选择将覆盖您在“Preferences ” > “Build & Run ” > “General ”中设置的部分值。
| 设置 | 值 |
|---|---|
| 将链接器库搜索路径添加到运行环境 | 确保链接期间使用的库路径在运行应用程序时也可用。 |
| 自动创建合适的运行配置 | 根据当前的构建设置自动生成运行配置。 |
| 以低优先级启动构建进程 | 以较低优先级启动构建进程。 |
| 对包含空格或非 ASCII 字符的构建目录发出警告 | 如果构建目录中包含空格或可能导致问题的非标准字符,则显示警告。 |
| “在终端中运行”的默认设置 | 指定应用程序是否应默认在终端中运行。 |
| 保持运行配置同步 | 指定在某个构建配置中添加、删除或编辑运行配置时,是否应相应地更新其他构建配置。 |
| 强制停止应用程序前的等待时间 | 指定在软终止和硬终止正在运行的应用程序之间应等待的秒数。 |
选择“Restore Global ”可恢复为全局设置。
另请参阅 “构建和运行”。
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.