使用以下方式获取并安装 QtQt Online Installer
Qt Online Installer 可让您仅安装开发特定桌面平台所需的模块和工具,并将应用程序部署到桌面平台、移动设备、嵌入式系统或微控制器(MCU)上。
要安装 Qt,请按照本页的说明操作,或参加“如何安装 Qt”课程。
开始之前
在开始安装之前:
- 请在Qt Account 上创建一个账户。
- 请确保您的平台受支持,详情请参阅“支持的平台”。
安装
- 在Qt Account 上,访问Downloads ,并根据您的操作系统选择“Qt Online Installer ”。
- 运行Qt Online Installer 。
- 选择要安装的组件,并按照说明完成安装。
请注意以下事项:
- Qt Online Installer 中可选的组件取决于您的许可证。
- 安装完成后,您可以随时使用Qt Maintenance Tool (包含在每个 Qt 安装中)来安装、卸载和更新模块及组件。

请参阅下表,了解根据您的目标平台应安装哪些组件的示例。
| 针对以下平台进行开发 | 请选择 | 备注 |
|---|---|---|
| 桌面 | Qt <x.x> for desktop development | 若要使用默认工具链以外的其他工具链(例如 Windows 上的 MSVC),请选择“Custom Installation ”(工具链配置)。然后为要使用的工具链选择 Qt。 |
| 移动设备 | Qt <x.x> for mobile development | 若要针对特定平台进行开发,请选择“Custom Installation ”。然后选择您希望在该移动设备平台上运行应用程序的 Qt 版本。例如,Qt for Android或Qt for iOS。 |
| 嵌入式设备 | Qt <x.x> for embedded development | 有关更多信息,请参阅Boot to Qt 文档中针对您设备的快速入门指南。 |
| Android Automotive | Qt <x.x> for Android Automotive | 有关更多信息,请参阅《Qt for Android Automotive 》文档中的“安装Qt for Android Automotive”部分。 |
| 自动化 | Custom Installation | 请根据您希望在哪些类型的设备上运行应用程序,从“Qt for Automation/Qt M2M Protocols”部分安装必要的 Qt 模块和工具链。 |
| MCU | Qt for MCU development | 有关更多信息,请参阅《Qt for MCUs 》文档中的“安装Qt for MCUs”部分。 |
获取帮助
如需安装方面的帮助,请参阅以下支持渠道:
安装完成后
安装完 Qt 后,您就可以开始开发应用程序了。
如需了解更多信息,请参阅《创建您的第一个应用程序》或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.