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 是按原樣提供的,沒有任何種類的擔保,我們的産品是沒有錯誤或 Bug 自由的。在適用法律允許的最大範圍內,Qt 公司代錶自身及其供應商,拒絕任何明示或暗示的擔保和條件,包括但不限於對許可軟件的適銷性、特定目的適用性,冠名和不侵權的隱含擔保。