支持平台

Qt 是商业和开放源码许可的跨平台应用程序和 UI 框架。它由 Qt 公司和 Qt 工程社区在开源治理模型下一起开发。

使用 Qt,一编写 GUI 应用程序,就可跨桌面、移动及嵌入式操作系统部署它们,无需重写源代码。

Qt is supported on a variety of 32-bit and 64-bit platforms, and can usually be built on each platform with GCC, a vendor-supplied compiler, or a third party compiler. Open GL (ES) 2.0, DirectX 9 or 11 (with ANGLE), or an 替代渲染器 是要求的对于 Qt Quick 2. 小部件 无需硬件加速即可使用。

在 Qt 5 中所有平台的创建是使用的 Qt Platform Abstraction (QPA), which makes it easier than before to port Qt into a new operating system.

支持的配置

The following table lists configurations supported by The Qt Company. A configuration is a combination of an operating system version, a compiler version, and a graphics system.

Supported configurations for Qt 5.9

平台 编译器 注意事项
Windows
Windows 10 (64-bit) MSVC 2017 , MSVC 2015 , MSVC 2013, MinGW 5.3
Windows 10 (32-bit) MSVC 2017 , MSVC 2015 , MSVC 2013, MinGW 5.3
Windows 8.1 (64-bit) MSVC 2017, MSVC 2015, MSVC 2013 , MinGW 5.3
Windows 8.1 (32-bit) MSVC 2017, MSVC 2015, MSVC 2013, MinGW 5.3
Windows 7 (64-bit) MSVC 2017, MSVC 2015, MSVC 2013, MinGW 5.3
Windows 7 (32-bit) MSVC 2017, MSVC 2015, MSVC 2013, MinGW 5.3 MinGW-builds gcc 5.3.0 (32-bit)
通用 Windows 平台 (UWP)
UWP 10 (x86, x86_64 , armv7) MSVC 2017, MSVC 2015 Hosts: Windows 10
Linux/X11
openSUSE 42.1 (64-bit) GCC 4.8.5
Red Hat Enterprise Linux 6.6 (64-bit) GCC 4.9.1 devtoolset-3
Red Hat Enterprise Linux 7.2 (64-bit) GCC 5.3.1 devtoolset-4
Ubuntu 16.04 (64-bit) GCC as provided by Canonical
(Linux 32/64-bit) GCC 4.8, GCC 4.9, GCC 5.3
macOS
macOS 10.10 , 10.11 , 10.12 Clang as provided by Apple
Embedded Platforms: 嵌入式 Linux , QNX , INTEGRITY , VxWorks
嵌入式 Linux GCC ARM Cortex-A, Intel boards with GCC-based toolchains
QNX 6.6 (armv7le and x86), 7.0 (armv7le, arm64 and x86) GCC as provided by QNX Hosts: RHEL 6.6 (64-bit) , RHEL 7.2 (64-bit) , Windows 10 (64-bit) , Windows 7 (32-bit)
INTEGRITY 11.4.x As provided by Green Hills INTEGRITY Hosts: 64-bit Linux
VxWorks 7 As provided by Wind River Hosts: 64-bit Linux, Windows
Mobile Platforms: Android , iOS
iOS 8, 9, 10 (armv7, arm64) Clang as provided by Apple macOS 10.10 host
Android (API Level: 16) GCC as provided by Google , MinGW 5.3 Hosts: RHEL 7.2 (64-bit) , macOS 10.12 , Windows 7 (64-bit)

In the above table, the configurations in bold are reference configurations .

另请参阅 : Qt for Device Creation: Supported Target Devices and Development Hosts .

参考配置

参考配置运行在 Qt 工程的 CI (持续集成) 系统中。此外,它们经常受到单元测试套件和其它内部测试工具的影响 (新版本发行前,源代码树分支及开发过程中的其它重要时期)。会优先修正在这些平台发现的错误或 Bug。测试配置中发现的重大错误会影响发行日期。

Any configurations not listed above are not actively tested by the Qt Project. However, Qt may run on configurations other than those actively tested on, and additional configurations may be raised to tested state, if sufficient effort is made to bring continuous integration to an acceptable state for that particular configuration.

The following page lists the configurations supported by The Qt Company for each released Qt version:

The Qt Company, Qt partners, open source projects and community users are able to provide assistance with various different supported platforms and configurations.

包的可用性

可以下载 Qt 5 安装程序和源代码包从 下载 页面。更多信息,拜访 Qt 快速入门 页面。

Qt 应用程序的部署

各平台的部署过程是不同的,且其平台页面有更详细描述。同时,还有部署文章概括了一般部署过程。

请注意,Qt 是按原样提供的,没有任何种类的担保,我们的产品是没有错误或 Bug 自由的。在适用法律允许的最大范围内,Qt 公司代表自身及其供应商,拒绝任何明示或暗示的担保和条件,包括但不限于对许可软件的适销性、特定目的适用性,冠名和不侵权的隐含担保。