Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

Supported Platforms: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
m (Updated Qt 5 doc links to Qt 6.)
 
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Category:Developing_Qt]]
[[Category:Qt Supported Platforms]]
{{LangSwitch}}


= Supported Platforms =
Qt can be used for application development for a wide range of '''target platforms''', like:


'''This is a draft and open for discussion, which should happen in the development list.'''
*Desktop: Linux, macOS, Windows
*Embedded and RTOS: Linux, QNX, VxWorks, Windows
*Mobile: Android, iOS, Windows


Here we attempt to list compilers and platforms the project aims to support. This is meant as guidance for developers of Qt and it should support informed decisions on the use of compiler, language and platform features.
For in depth information and more exotic platforms see the official documentation: [https://doc.qt.io/qt-6/supported-platforms.html Supported Platforms].  See also [[Supported Devices]].


For comparison, also check the "list of supported platforms for Qt 4.8":http://doc.qt.nokia.com/4.8/supported-platforms.html.
Even if not listed there, with some extra work you may also be able to target platforms like:


=== Compilers ===
*Various BSDs
*Haiku
*Windows versions older than Windows XP


Excluding platform-specific code which should be clearly protected through the use of appropriate <code>#ifdef</code>'s, all code contributed to Qt should be fully supported by these compilers:


* GCC 4.2 and up (Mac OS uses 4.2, Debian stable is at 4.4)
Depending on your target you'll need a suitable '''host platform'''. For specific information see the lists of supported platforms mentioned above. For a quick overview see the following table:
* Clang (trunk?)
* MSVC 2008
* ICC (which version?)


=== Platforms ===
{| class="wikitable"
 
! style="color:white; background-color:#80C342;" |Target
{|
! style="color:white; background-color:#80C342;" |Host
!'''Platform'''
|-
!'''Compiler'''
! colspan="2" style="font-weight:normal; background-color:lightgrey;" |Desktop
|-
|Desktop Linux
|Desktop Linux
|-
|macOS
|macOS
|-
|-
|'''Desktop'''
|Windows 7 or higher
|
|Windows 7 or higher
|Linux
|gcc 4.4 (Debian stable) and up
|-
|-
|Mac OS X Lion
! colspan="2" style="font-weight:normal; background-color:lightgrey;" |Embedded, RTOS
|As provided by Apple (gcc 4.2.1, clang 2.9)
|-
|-
|Microsoft Windows 7
|Embedded Linux
|MSVC 2008
|Desktop Linux
|-
|QNX
|Desktop Linux<br />Windows 7 or higher
|-
|-
|'''Embedded'''
|VxWorks
|Desktop Linux<br />Windows 7 or higher
|-
|-
|Raspberry PI
|Windows Embedded 7
|?? (just a placeholder)
|Windows 7 or higher
|-
|-
|Mobile
! colspan="2" style="font-weight:normal; background-color:lightgrey;" |Mobile
|-
|-
|Android
|Android
|?? (just a placeholder)
|Desktop Linux<br />macOS<br />Windows 7 or higher
|-
|iOS
|macOS
|-
|Windows Phone
|Windows 8 or higher
|-
|Windows RT
|Windows 8 or higher
|}
|}
If your host platform is Desktop Linux but your favorite Linux distribution is not listed in [https://doc.qt.io/qt-6/supported-platforms.html the official documentation] then don't worry: Many distributions have ready compiled packages and in case not, you can compile Qt from source. Almost '''all modern Desktop Linux distributions are suitable host and target platforms'''.

Latest revision as of 07:44, 9 November 2021

En Ar Bg De El Es Fa Fi Fr Hi Hu It Ja Kn Ko Ms Nl Pl Pt Ru Sq Th Tr Uk Zh

Qt can be used for application development for a wide range of target platforms, like:

  • Desktop: Linux, macOS, Windows
  • Embedded and RTOS: Linux, QNX, VxWorks, Windows
  • Mobile: Android, iOS, Windows

For in depth information and more exotic platforms see the official documentation: Supported Platforms. See also Supported Devices.

Even if not listed there, with some extra work you may also be able to target platforms like:

  • Various BSDs
  • Haiku
  • Windows versions older than Windows XP


Depending on your target you'll need a suitable host platform. For specific information see the lists of supported platforms mentioned above. For a quick overview see the following table:

Target Host
Desktop
Desktop Linux Desktop Linux
macOS macOS
Windows 7 or higher Windows 7 or higher
Embedded, RTOS
Embedded Linux Desktop Linux
QNX Desktop Linux
Windows 7 or higher
VxWorks Desktop Linux
Windows 7 or higher
Windows Embedded 7 Windows 7 or higher
Mobile
Android Desktop Linux
macOS
Windows 7 or higher
iOS macOS
Windows Phone Windows 8 or higher
Windows RT Windows 8 or higher

If your host platform is Desktop Linux but your favorite Linux distribution is not listed in the official documentation then don't worry: Many distributions have ready compiled packages and in case not, you can compile Qt from source. Almost all modern Desktop Linux distributions are suitable host and target platforms.