适用于 Windows 的 Qt
Qt 对各种 Windows 平台的支持既全面又成熟。
要下载并安装 Windows 版 Qt,请按照“Qt 入门”页面上的说明进行操作。
支持的配置
Qt 6.12 支持以下 Windows 配置:
| 操作系统 | 架构 | 编译器 | 备注 |
|---|---|---|---|
| Windows 10(1809 或更高版本) | x86_64 | MSVC 2022、Mingw-w64 15.1 | |
| Windows 11 | x86_64 | MSVC 2022、Mingw-w64 15.1 | |
| 基于 ARM 的 Windows | ARM64 | MSVC 2022 | |
| 基于 ARM 的 Windows | ARM64EC | MSVC 2026 | 无安装包。 缺少对某些 Qt 模块的支持(QtWebView 、Qt WebEngine 以及Qt Quick 3D Physics)。 |
注意:Qt 6.12 将是最后一个支持 Windows 10 的版本。
从源代码编译
有关如何从源代码构建 Qt 本身的详细信息,请参阅《Qt for Windows - 从源代码构建》。
部署及其他问题
以下页面介绍了开发 Windows 应用程序时的具体问题及建议。
下一步该怎么做
我们诚邀您进一步探索 Qt 的其他内容。我们准备了概述文档,帮助您决定使用哪些 API;同时,我们的示例代码将向您展示如何使用这些 API。
- 所有概述- 应用程序开发相关主题列表
- 示例与教程- 代码示例和教程
- Qt 参考页面——C++ 和 Qml API 列表
- Qt 中的 ActiveX
Qt 充满活力且活跃的社区网站https://qt.io汇集了维基、论坛以及其他学习指南和演示文稿。
Visual Studio 工具
Qt VS Tools 使程序员能够通过 Microsoft Visual Studio 创建、构建、调试和运行 Qt 应用程序。它包含项目向导、Qt 项目导入和导出支持、集成的 Qt 资源管理器,以及针对 QtMeta-Object Compiler 、User Interface Compiler 和Resource Compiler 的自动化构建设置。
© 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.