Supported Platforms: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Convert ExpressionEngine links)
m (Updated Qt 5 doc links to Qt 6.)
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Cleanup | reason=Auto-imported from ExpressionEngine.}}
[[Category:Qt Supported Platforms]]
{{LangSwitch}}


[[Category:Developing_Qt]]
Qt can be used for application development for a wide range of '''target platforms''', like:


= Supported Platforms =
*Desktop: Linux, macOS, Windows
*Embedded and RTOS: Linux, QNX, VxWorks, Windows
*Mobile: Android, iOS, Windows


'''This is a draft and open for discussion, which should happen in the development list.'''
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]].


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.
Even if not listed there, with some extra work you may also be able to target platforms like:


For comparison, also check the [http://doc.qt.nokia.com/4.8/supported-platforms.html list of supported platforms for Qt 4.8].
*Various BSDs
*Haiku
*Windows versions older than Windows XP


=== Compilers ===


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:
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:


* GCC 4.2 and up (Mac OS uses 4.2, Debian stable is at 4.4)
{| class="wikitable"
* Clang (trunk?)
! style="color:white; background-color:#80C342;" |Target
* MSVC 2008
! style="color:white; background-color:#80C342;" |Host
* ICC (which version?)
|-
 
! colspan="2" style="font-weight:normal; background-color:lightgrey;" |Desktop
=== Platforms ===
|-
 
|Desktop Linux
{|
|Desktop Linux
!'''Platform'''
|-
!'''Compiler'''
|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.