MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

Platform and Compiler Notes

This page contains information about the platforms Qt is currently known to run on, with links to platform-specific notes, including any known bugs or incompatibilities.

Information about the combinations of platforms and compilers supported by Qt can be found on the Supported Platforms page.

General Compiler Notes

Supported Features

Not all compilers used to build Qt are able to compile all modules. The following table shows the compiler support for five modules that are not uniformly available for all platforms and compilers.

Compiler Features
Concurrent XmlPatterns WebKit(*) CLucene Phonon
g++ 3.3 X X X
g++ 3.4 and up X X X X X
SunCC 5.5 X X
aCC series 3 X X
aCC series 6 X X X X X
xlC 6 X X
Intel CC 10 X X X X X
MSVC 2003 X X X X
MSVC 2005 and up X X X X X

* WebKit is only supported as a dynamically built library. Static linkage is not supported.

GCC 3.4.6 (Debian 3.4.6-5) on AMD64 (x86_64)

This compiler is known to miscompile some parts of Qt when doing a release build. There are several workarounds:

  1. Use a debug build instead.
  2. For each miscompilation encountered, recompile the file, removing the -O2 option.
  3. Add -fno-gcse to the QMAKE_CXXFLAGS_RELEASE qmake variable.

GCC 4.0.0

The released package of the compiler has some bugs that lead to miscompilations. We recommend using GCC 4.0.1 or later, or to use a recent CVS snapshot of the GCC 4.0 branch. The version of GCC 4.0.0 that is shipped with Mac OS X 10.4 "Tiger" is known to work with Qt for Mac OS X.

Intel C++ Compiler

Qt supports the Intel C++ compiler on both Windows and Linux. However, there are a few issues on Linux; see Intel C++ Compiler for Linux for details.

Feedback and Corrections

If you have anything to add to this list or any of the platform or compiler-specific pages, please submit it via the Bug Report Form or through the Public Qt Repository.