获取和安装 Qt
您可以通过不同方式在计算机上安装 Qt。下表概述了每种方法及其最有用的时间。
| 方法 | 说明 | 何时使用 |
|---|---|---|
| Qt Online Installer (图形用户界面) | 图形化安装程序可让您交互式地选择 Qt 版本、模块和工具。在大多数情况下,这是安装 Qt 的最佳方法。 |
|
| Qt Online Installer (命令行) | 允许使用脚本或自动化工具进行无人值守的安装。 |
|
| 从源代码编译 | 从源代码下载并手动编译 Qt。 |
|
| 软件包管理器: | 无需 Qt 账户,即可安装最新版本的 Qt。 |
|
安装 Qt 后,您可以使用Qt Maintenance Tool (包含在每个 Qt 安装中)添加、更新和删除组件。更多信息,请参阅添加、更新和删除组件。
© 2026 The Qt Company Ltd. 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.