1 | /****************************************************************************
|
---|
2 | **
|
---|
3 | ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
---|
4 | ** Contact: Qt Software Information ([email protected])
|
---|
5 | **
|
---|
6 | ** This file is part of the documentation of the Qt Toolkit.
|
---|
7 | **
|
---|
8 | ** $QT_BEGIN_LICENSE:LGPL$
|
---|
9 | ** Commercial Usage
|
---|
10 | ** Licensees holding valid Qt Commercial licenses may use this file in
|
---|
11 | ** accordance with the Qt Commercial License Agreement provided with the
|
---|
12 | ** Software or, alternatively, in accordance with the terms contained in
|
---|
13 | ** a written agreement between you and Nokia.
|
---|
14 | **
|
---|
15 | ** GNU Lesser General Public License Usage
|
---|
16 | ** Alternatively, this file may be used under the terms of the GNU Lesser
|
---|
17 | ** General Public License version 2.1 as published by the Free Software
|
---|
18 | ** Foundation and appearing in the file LICENSE.LGPL included in the
|
---|
19 | ** packaging of this file. Please review the following information to
|
---|
20 | ** ensure the GNU Lesser General Public License version 2.1 requirements
|
---|
21 | ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
---|
22 | **
|
---|
23 | ** In addition, as a special exception, Nokia gives you certain
|
---|
24 | ** additional rights. These rights are described in the Nokia Qt LGPL
|
---|
25 | ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
|
---|
26 | ** package.
|
---|
27 | **
|
---|
28 | ** GNU General Public License Usage
|
---|
29 | ** Alternatively, this file may be used under the terms of the GNU
|
---|
30 | ** General Public License version 3.0 as published by the Free Software
|
---|
31 | ** Foundation and appearing in the file LICENSE.GPL included in the
|
---|
32 | ** packaging of this file. Please review the following information to
|
---|
33 | ** ensure the GNU General Public License version 3.0 requirements will be
|
---|
34 | ** met: http://www.gnu.org/copyleft/gpl.html.
|
---|
35 | **
|
---|
36 | ** If you are unsure which license is appropriate for your use, please
|
---|
37 | ** contact the sales department at [email protected].
|
---|
38 | ** $QT_END_LICENSE$
|
---|
39 | **
|
---|
40 | ****************************************************************************/
|
---|
41 |
|
---|
42 | /*!
|
---|
43 | \page platform-notes-platforms.html
|
---|
44 | \ingroup platform-notes
|
---|
45 | \title Platform Notes
|
---|
46 | \brief Information about the platforms on which Qt can be used.
|
---|
47 |
|
---|
48 | This page contains information about the platforms Qt is currently known
|
---|
49 | to run on, with links to platform-specific notes, including any known bugs
|
---|
50 | or incompatibilities.
|
---|
51 |
|
---|
52 | \list
|
---|
53 | \o \l{Platform Notes - X11}
|
---|
54 | \tableofcontents{1 Platform Notes - X11}
|
---|
55 | \o \l{Platform Notes - Windows}
|
---|
56 | \tableofcontents{1 Platform Notes - Windows}
|
---|
57 | \o \l{Platform Notes - Mac OS X}
|
---|
58 | \tableofcontents{1 Platform Notes - Mac OS X}
|
---|
59 | \o \l{Platform Notes - Embedded Linux}
|
---|
60 | \tableofcontents{1 Platform Notes - Embedded Linux}
|
---|
61 | \o \l{Platform Notes - Windows CE}
|
---|
62 | \tableofcontents{1 Platform Notes - Windows CE}
|
---|
63 | \endlist
|
---|
64 |
|
---|
65 | See also the \l{Compiler Notes} for information about compiler-specific
|
---|
66 | build issues. Information about the combinations of platforms and compilers
|
---|
67 | supported by Qt can be found on the \l{Supported Platforms} page.
|
---|
68 |
|
---|
69 | If you have anything to add to this list or any of the platform or
|
---|
70 | compiler-specific pages, please submit it via the \l{Bug Report Form}.
|
---|
71 | */
|
---|
72 |
|
---|
73 | /*!
|
---|
74 | \page platform-notes-x11.html
|
---|
75 | \title Platform Notes - X11
|
---|
76 | \contentspage Platform Notes
|
---|
77 |
|
---|
78 | This page contains information about the X11 platforms Qt is currently
|
---|
79 | known to run on, with links to platform-specific notes. More information
|
---|
80 | about the combinations of platforms and compilers supported by Qt can be
|
---|
81 | found on the \l{Supported Platforms} page.
|
---|
82 |
|
---|
83 | \tableofcontents
|
---|
84 |
|
---|
85 | \target AIX
|
---|
86 | \section1 AIX - 5.2
|
---|
87 |
|
---|
88 | Qt has been tested on AIX 5.2, using the
|
---|
89 | \l{Compiler Notes#IBM xlC (AIX)}{xlC} compiler.
|
---|
90 |
|
---|
91 | \table
|
---|
92 | \header \o Compiler \o Notes
|
---|
93 | \row \o xlC
|
---|
94 | \o If Qt is built correctly but all symbols are reported to be missing
|
---|
95 | when you link an application, your makeC++SharedLib script might be out
|
---|
96 | of date. Make sure you have the latest version from the
|
---|
97 | \l{http://www-306.ibm.com/software/awdtools/vacpp/support/}{IBM website}.
|
---|
98 | \row \o GCC
|
---|
99 | \o We have tested earlier versions of Qt 4 successfully with GCC version
|
---|
100 | 3.3 and above. Some versions of GCC may fail to link Qt with a "TOC overflow"
|
---|
101 | message.
|
---|
102 | Fix this by upgrading to the latest maintenance release of the dynamic
|
---|
103 | linker. On AIX this is bos.rte.bind_cmds.4.1.5.3 or later.
|
---|
104 | Some versions of GCC may fail to build Qt with STL and large-file support
|
---|
105 | enabled, due to
|
---|
106 | \l{http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9551}{a bug in GCC}.
|
---|
107 | Fix this by upgrading to the latest maintenance release of the compiler.
|
---|
108 | It is also possible to work around this problem by running configure with
|
---|
109 | either \c{-no-stl} or \c{-no-largefile}.
|
---|
110 | \endtable
|
---|
111 |
|
---|
112 | \target FreeBSD
|
---|
113 | \section1 FreeBSD - 6.0-RELEASE
|
---|
114 |
|
---|
115 | \note FreeBSD is a community supported platform. See the
|
---|
116 | \l{Supported Platforms} page for more information.
|
---|
117 |
|
---|
118 | The system compiler on FreeBSD 4.x is gcc 2.95.4, which is not
|
---|
119 | officially supported by Qt 4. We develop using and recommend
|
---|
120 | ports/lang/gcc34. You will need to run configure with the
|
---|
121 | \c{-platform freebsd-g++34} arguments. Optionally, you may use
|
---|
122 | ports/lang/icc.
|
---|
123 |
|
---|
124 | The system compiler on FreeBSD 5.x and 6.x is GCC 3.4.4, which should be
|
---|
125 | sufficient to build Qt. You do not need to add any special arguments when
|
---|
126 | running configure. Optionally, you may use ports/lang/icc.
|
---|
127 |
|
---|
128 | Note that we do not actively test FreeBSD 4.x and 5.x. Our developers
|
---|
129 | migrated to 6.x after the Qt 4 launch. FreeBSD-CURRENT is not supported.
|
---|
130 |
|
---|
131 | \target HP-UX
|
---|
132 | \section1 HP-UX
|
---|
133 |
|
---|
134 | Qt supports HP-UX on both PA-RISC and the Itanium (IA64) architectures.
|
---|
135 |
|
---|
136 | \section2 PA-RISC - B.11.11 or later
|
---|
137 |
|
---|
138 | You can configure Qt for aCC in 32 and 64 bit mode (hpux-acc-64 or
|
---|
139 | hpux-acc-32), or gcc in 32 bit mode (hpux-g++). The default platform is
|
---|
140 | hpux-acc-32. The minimum required version for aCC (HP ANSI C++) on PA-RISC
|
---|
141 | is A.03.57. The supported gcc compiler is gcc 3.4.3.
|
---|
142 |
|
---|
143 | \section2 Itanium - B.11.23 or later
|
---|
144 |
|
---|
145 | You can configure Qt for aCC in 32 and 64 bit mode (hpuxi-acc-64 or
|
---|
146 | hpuxi-acc-32). gcc is currently unsupported. The default platform is
|
---|
147 | hpuxi-acc-64. The minimum required version for aCC (HP ANSI C++) on
|
---|
148 | Itanium is A.06.12.
|
---|
149 |
|
---|
150 | \section2 OpenGL Support
|
---|
151 |
|
---|
152 | Qt's \l{QtOpenGL}{OpenGL} module requires GLX 1.3 or later to be installed.
|
---|
153 | This is available for HP-UX 11i - see the
|
---|
154 | \l{http://docs.hp.com/en/5992-2331/ch04s02.html}{Graphics and Technical Computing Software}
|
---|
155 | section of the release notes for more information.
|
---|
156 |
|
---|
157 | \target IRIX
|
---|
158 | \section1 IRIX - 6.5.x
|
---|
159 |
|
---|
160 | \bold{IRIX is an unsupported platform - please see Qt Software's online
|
---|
161 | \l{Platform Support Policy} for details.}
|
---|
162 |
|
---|
163 | Unpackaging and IRIX tar:
|
---|
164 | Because of long filenames some files will be cut off incorrectly with IRIX
|
---|
165 | tar. Please use GNU tar to unpack Qt packages.
|
---|
166 |
|
---|
167 | \section1 Linux
|
---|
168 |
|
---|
169 | There are no known problems with using Qt on production versions of
|
---|
170 | Linux/x86, Linux/ppc, Linux/amd64 and Linux/ia64 (including Altix(R)).
|
---|
171 |
|
---|
172 | For the gcc/g++ compiler, please also see the relevant
|
---|
173 | \l{Compiler Notes#GCC}{compiler page}.
|
---|
174 |
|
---|
175 | \section2 Installation problems
|
---|
176 |
|
---|
177 | See also the \l{Installation FAQ}.
|
---|
178 |
|
---|
179 | If you experience problems when installing new open source versions of Qt
|
---|
180 | versions, try to use the open source Qt archives (e.g., RPM)
|
---|
181 | provided by your Linux distribution. If you need to install the source (.tgz)
|
---|
182 | archive, be aware that you will probably end up with two different
|
---|
183 | versions of the Qt library installed on your system, which will probably
|
---|
184 | lead to link errors, like this:
|
---|
185 | \snippet doc/src/snippets/code/doc_src_platform-notes.qdoc 0
|
---|
186 | Fix this by removing the old version of the library.
|
---|
187 |
|
---|
188 | If you have problems installing open source versions of Qt
|
---|
189 | provided by your Linux distribution (e.g., RPM), please consult the
|
---|
190 | maintainers of the distribution, not us.
|
---|
191 |
|
---|
192 | Some RPM versions have problems installing some of the Qt RPM archives
|
---|
193 | where installation stops with an error message warning about a
|
---|
194 | "Failed Dependency". Use the \c{--nodeps} option to \c rpm to workaround
|
---|
195 | this problem.
|
---|
196 |
|
---|
197 | \target Solaris
|
---|
198 | \section1 Solaris - 9 or later
|
---|
199 |
|
---|
200 | \section2 Unpackaging and Solaris tar
|
---|
201 |
|
---|
202 | On some Solaris systems, both Solaris tar and GNU tar have been reported
|
---|
203 | to truncate long filenames. We recommend using star instead
|
---|
204 | (http://star.berlios.de).
|
---|
205 |
|
---|
206 | \section2 CC on Solaris
|
---|
207 |
|
---|
208 | Be sure to check our \l{Compiler Notes#Sun Studio}{Forte Developer / Sun Studio}
|
---|
209 | notes.
|
---|
210 |
|
---|
211 | \section2 GCC on Solaris
|
---|
212 |
|
---|
213 | Be sure to check the installation notes for \l{GCC on Solaris}.
|
---|
214 | Do not use GCC with Sun's assembler/linker, this will result in link-time
|
---|
215 | errors in shared libraries. Use GNU binutils instead.
|
---|
216 |
|
---|
217 | GCC 3.2.* is known to miscompile Qt due to an optimizer bug that will
|
---|
218 | cause the resulting binaries to hang. Please use GCC 3.4.2 or later.
|
---|
219 | */
|
---|
220 |
|
---|
221 | /*!
|
---|
222 | \page platform-notes-windows.html
|
---|
223 | \title Platform Notes - Windows
|
---|
224 | \contentspage Platform Notes
|
---|
225 |
|
---|
226 | This page contains information about the Windows platforms Qt is currently
|
---|
227 | known to run on, with links to platform-specific notes. More information
|
---|
228 | about the combinations of platforms and compilers supported by Qt can be
|
---|
229 | found on the \l{Supported Platforms} page.
|
---|
230 |
|
---|
231 | \tableofcontents
|
---|
232 |
|
---|
233 | \section1 Windows Vista
|
---|
234 |
|
---|
235 | At the time Qt 4.5.1 was released, there were no known Vista-specific issues.
|
---|
236 |
|
---|
237 | \target Windows NT
|
---|
238 | \section1 Windows XP, Windows 2000 and Windows NT
|
---|
239 |
|
---|
240 | \section2 Installation location
|
---|
241 |
|
---|
242 | Installing Qt into a directory with spaces, e.g. C:\\Program Files, may
|
---|
243 | cause linker errors like the following:
|
---|
244 | \snippet doc/src/snippets/code/doc_src_platform-notes.qdoc 2
|
---|
245 |
|
---|
246 | Install Qt into a subdirectory without spaces to avoid this problem.
|
---|
247 |
|
---|
248 | \section2 AccelGALAXY graphic card
|
---|
249 |
|
---|
250 | When you use a NT 4.0 machine with the driver number
|
---|
251 | 4,00,1381,1000,021,4.0.0 there is a problem with drag an drop and icons.
|
---|
252 | The computer freezes, and you have to reset. The problem disappears with
|
---|
253 | the newest version of the driver, available at
|
---|
254 | \l{http://www.es.com/}{www.es.com}.
|
---|
255 |
|
---|
256 | \section2 Possible GL conflict
|
---|
257 |
|
---|
258 | There is a known issue with running Microsoft NetMeeting, Lotus SameTime
|
---|
259 | and other applications that require screen grabbing while direct
|
---|
260 | rendering is enabled. Other GL-applications may not work as expected,
|
---|
261 | unless direct rendering is disabled.
|
---|
262 | */
|
---|
263 |
|
---|
264 | /*!
|
---|
265 | \page platform-notes-mac.html
|
---|
266 | \title Platform Notes - Mac OS X
|
---|
267 | \contentspage Platform Notes
|
---|
268 |
|
---|
269 | This page contains information about the Mac OS X versions Qt is currently
|
---|
270 | known to run on, with links to platform-specific notes. More information
|
---|
271 | about the combinations of platforms and compilers supported by Qt can be
|
---|
272 | found on the \l{Supported Platforms} page.
|
---|
273 |
|
---|
274 | \tableofcontents
|
---|
275 |
|
---|
276 | \section1 General Information
|
---|
277 |
|
---|
278 | Qt 4.4 and Qt 4.5 development is only supported on Mac OS X 10.4 and up.
|
---|
279 | Applications built against these version of Qt can be deployed on Mac OS X
|
---|
280 | 10.3, but cannot be developed on that version of the operating system due
|
---|
281 | to compiler issues.
|
---|
282 |
|
---|
283 | Qt 4.3 has been tested to run on Mac OS X 10.3.9 and up. See notes on
|
---|
284 | the binary package for more information.
|
---|
285 |
|
---|
286 | Qt 4.1 has been tested to run on Mac OS X 10.2.8 and up. Qt 4.1.4 is the
|
---|
287 | last release to work with Mac OS X 10.2.
|
---|
288 |
|
---|
289 | \section2 Required GCC version
|
---|
290 |
|
---|
291 | Apple's gcc 4 that is shipped with the Xcode Tools for both Mac OS X 10.4
|
---|
292 | and 10.5 will compile Qt. There is preliminary support for gcc 4.2 which
|
---|
293 | is included with Xcode Tools 3.1+ (configurable with
|
---|
294 | \c{-platform macx-g++42}).
|
---|
295 |
|
---|
296 | \section2 Binary Package
|
---|
297 |
|
---|
298 | The binary package requires that you have your .qt-license file in your
|
---|
299 | home directory. Installer.app cannot complete without a valid .qt-license
|
---|
300 | file. Evaluation users of Qt will have information about how to create
|
---|
301 | this file in the email they receive.
|
---|
302 |
|
---|
303 | The binary package was built on Mac OS X 10.4 with Xcode Tools 2.1
|
---|
304 | (gcc 4.0.0) for Qt 4.1.0, Xcode Tools 2.2 (gcc 4.0.1) for Qt 4.1.1-4.1.4
|
---|
305 | and Xcode Tools 2.3 for 4.2.0. It will only link executables built
|
---|
306 | against 10.4 (or a 10.4 SDK). You should be able to run applications
|
---|
307 | linked against these frameworks on Mac OS X 10.3.9 and Mac OS X 10.4+.
|
---|
308 | If you require a different configuration, you will have to use the
|
---|
309 | source package and build with GCC 3.3.
|
---|
310 |
|
---|
311 | \section2 Mac OS X on Intel hardware
|
---|
312 |
|
---|
313 | Qt 4 fully supports both the Intel and PowerPC architectures on the Mac.
|
---|
314 | As of Qt 4.1 it is possible to support the Intel architecture by
|
---|
315 | creating Universal Binaries with qmake. As of Qt 4.1 it is possible to
|
---|
316 | build Qt as a set of universal binaries and frameworks from configure by
|
---|
317 | adding these extra flags:
|
---|
318 |
|
---|
319 | \snippet doc/src/snippets/code/doc_src_platform-notes.qdoc 3
|
---|
320 |
|
---|
321 | If you are building on Intel hardware you can omit the sdk parameter, but
|
---|
322 | PowerPC hardware requires it.
|
---|
323 |
|
---|
324 | You can also generate universal binaries using qmake. Simply add these
|
---|
325 | lines to your .pro file:
|
---|
326 |
|
---|
327 | \snippet doc/src/snippets/code/doc_src_platform-notes.qdoc 4
|
---|
328 |
|
---|
329 | \section2 Build Issues
|
---|
330 |
|
---|
331 | If Qt does not build upon executing make, and fails with an error message
|
---|
332 | such as
|
---|
333 |
|
---|
334 | \snippet doc/src/snippets/code/doc_src_platform-notes.qdoc 5
|
---|
335 |
|
---|
336 | this could be an indication you have upgraded your version of Mac OS X
|
---|
337 | (e.g. 10.3 to 10.4), without upgrading your Developer Tools (Xcode Tools).
|
---|
338 | These must match in order to successfully compile files.
|
---|
339 |
|
---|
340 | Please be sure to upgrade both simultaneously. If problems still occur,
|
---|
341 | contact support.
|
---|
342 |
|
---|
343 | \section2 Fink
|
---|
344 |
|
---|
345 | If you have installed the Qt for X11 package from \l{Fink},
|
---|
346 | it will set the QMAKESPEC environment variable to darwin-g++. This will
|
---|
347 | cause problems when you build the Qt for Mac OS X package. To fix this, simply
|
---|
348 | unset your QMAKESPEC or set it to macx-g++ before you run configure.
|
---|
349 | You need to have a fresh Qt distribution (make confclean).
|
---|
350 |
|
---|
351 | \section2 MySQL and Mac OS X
|
---|
352 |
|
---|
353 | There seems to be a issue when both -prebind and -multi_module are
|
---|
354 | defined when linking static C libraries into dynamic library. If you
|
---|
355 | get the following error message when linking Qt:
|
---|
356 |
|
---|
357 | \snippet doc/src/snippets/code/doc_src_platform-notes.qdoc 6
|
---|
358 |
|
---|
359 | re-link Qt using -single_module. This is only a problem when building the
|
---|
360 | MySQL driver into Qt. It does not affect plugins or static builds.
|
---|
361 |
|
---|
362 | \section2 Qt and Precompiled Headers (PCH)
|
---|
363 |
|
---|
364 | Starting with Qt 3.3.0 it is possible to use precompiled headers. They
|
---|
365 | are not enabled by default as it appears that some versions of Apple's
|
---|
366 | GCC and make have problems with this feature. If you want to use
|
---|
367 | precompiled headers when building the Qt source package, specify the
|
---|
368 | -pch option to configure. If, while using precompiled headers, you
|
---|
369 | encounter an internal compile error, try removing the -include header
|
---|
370 | statement from the compile line and trying again. If this solves the
|
---|
371 | problem, it probably is a good idea to turn off precompiled headers.
|
---|
372 | Also, consider filing a bug report with Apple so that they can
|
---|
373 | improve support for this feature.
|
---|
374 | */
|
---|
375 |
|
---|
376 | /*!
|
---|
377 | \page supported-platforms.html
|
---|
378 | \title Supported Platforms
|
---|
379 | \brief The platforms supported by Nokia for Qt.
|
---|
380 | \ingroup platform-notes
|
---|
381 |
|
---|
382 | Qt is supported on a variety of 32-bit and 64-bit platforms, and can
|
---|
383 | usually be built on each platform with GCC, a vendor-supplied compiler, or
|
---|
384 | a third party compiler. Although Qt may be built on a range of platform-compiler
|
---|
385 | combinations, only a subset of these are actively supported by Qt Software.
|
---|
386 |
|
---|
387 | A more general overview of the platforms Qt runs on can be found on the
|
---|
388 | \l{Platform Notes} page. Information about the compilers used on each platform
|
---|
389 | can be found on the \l{Compiler Notes} page.
|
---|
390 |
|
---|
391 | \tableofcontents
|
---|
392 |
|
---|
393 | \section1 Most Common Actively Supported Platforms
|
---|
394 |
|
---|
395 | \table
|
---|
396 | \header \o Platform \o Compilers
|
---|
397 | \row \o Apple Mac OS X (32-bit) \o gcc 4.0.1
|
---|
398 | \row \o Linux (32 and 64-bit) \o gcc 4.1, 4.2, 4.3
|
---|
399 | \row \o Microsoft Windows \o gcc 3.4.2 (MinGW) (32-bit), MSVC 2003, 2005 (32 and 64-bit), 2008,
|
---|
400 | \l{Known Issues in 4.5.1}{Intel icc (see note)}
|
---|
401 | \endtable
|
---|
402 |
|
---|
403 | Any platform-compiler combinations not listed here should be considered unsupported.
|
---|
404 |
|
---|
405 | \section1 Actively Supported Platforms
|
---|
406 |
|
---|
407 | \table
|
---|
408 | \header \o OS \o Architecture \o Makespec \o Compiler version(s)
|
---|
409 | \row \o AIX \o PowerPC \o aix-xlc \o xlC 6
|
---|
410 | \row \o AIX \o PowerPC \o aix-xlc-64 \o xlC 6
|
---|
411 | \row \o HPUX \o PA/RISC \o hpux-acc* \o A.03.57 (aCC 3.57)
|
---|
412 | \row \o HPUX \o PA/RISC \o hpux-g++ \o GCC 3.4.4
|
---|
413 | \row \o HPUX \o PA/RISC \o hpux-g++-64 \o GCC 3.4.4
|
---|
414 | \row \o HPUX \o Itanium \o hpuxi-acc* \o A.06.10 (aCC 6.10)
|
---|
415 | \row \o Embedded Linux \o ARM \o qws/linux-arm-g++ \o GCC 3.4, 4.1, 4.2, 4.3
|
---|
416 | \row \o Embedded Linux \o Intel 32-bit \o qws/linux-x86-g++ \o GCC 3.4, 4.1, 4.2, 4.3
|
---|
417 | \row \o Linux \o Intel 32/64-bit \o linux-g++ \o GCC 4.1, 4.2, 4.3
|
---|
418 | \row \o Linux \o Intel 32/64-bit \o linux-icc \o icc 10.1
|
---|
419 | \row \o Linux \o Intel 32-bit \o linux-icc-32 \o icc 10.1
|
---|
420 | \row \o Linux \o Intel 64-bit \o linux-icc-64 \o icc 10.1
|
---|
421 | \row \o Mac OS X \o Intel 32/64-bit, PowerPC \o macx-g++ \o GCC 4.0.1
|
---|
422 | \row \o Mac OS X \o Intel 32/64-bit, PowerPC \o macx-g++42 \o GCC 4.2
|
---|
423 | \row \o Solaris \o SPARC, Intel 32-bit \o solaris-cc* \o Sun CC 5.5
|
---|
424 | \row \o Solaris \o SPARC, Intel 32-bit \o solaris-g++* \o GCC 3.4.2
|
---|
425 | \row \o Windows XP/Vista \o Intel 32/64-bit \o win32-g++ \o GCC 3.4.2 (MinGW 5.1.4)
|
---|
426 | \row \o Windows XP/Vista \o Intel 32/64-bit \o win32-icc \o icc 9.1
|
---|
427 | \row \o Windows XP/Vista \o Intel 32/64-bit \o win32-msvc2003 \o Visual Studio 2003
|
---|
428 | \row \o Windows XP/Vista \o Intel 32/64-bit \o win32-msvc2005 \o Visual Studio 2005
|
---|
429 | \row \o Windows XP/Vista \o Intel 32/64-bit \o win32-msvc2008 \o Visual Studio 2008
|
---|
430 | \row \o Windows CE \o Intel 32-bit, ARMv4i, MIPS
|
---|
431 | \o wince*-msvc2005 \o Visual Studio 2005
|
---|
432 | \row \o Windows CE \o Intel 32-bit, ARMv4i, MIPS
|
---|
433 | \o wince*-msvc2008 \o Visual Studio 2008
|
---|
434 | \endtable
|
---|
435 |
|
---|
436 | \section1 Community Supported Platforms
|
---|
437 |
|
---|
438 | \table
|
---|
439 | \header \o OS \o Architecture \o Makespec \o Compiler version(s)
|
---|
440 | \row \o Mac OS X \o Intel 32-bit, PowerPC \o darwin-g++ \o -
|
---|
441 | \row \o FreeBSD \o - \o freebsd-g++ \o -
|
---|
442 | \row \o FreeBSD \o - \o freebsd-g++34 \o -
|
---|
443 | \row \o FreeBSD \o - \o freebsd-g++40 \o -
|
---|
444 | \row \o FreeBSD \o - \o freebsd-icc \o -
|
---|
445 | \row \o HPUX \o Itanium \o hpuxi-g++* \o GCC 4.1
|
---|
446 | \row \o Linux \o - \o linux-cxx \o -
|
---|
447 | \row \o Linux \o - \o linux-ecc-64 \o -
|
---|
448 | \row \o Linux \o Itanium \o linux-g++ \o GCC 3.4
|
---|
449 | \row \o Linux \o Intel 32/64-bit \o linux-g++ \o GCC 3.3, 3.4
|
---|
450 | \row \o Linux \o Intel 32/64-bit \o linux-g++ \o GCC 4.0
|
---|
451 | \row \o Linux \o - \o linux-kcc \o -
|
---|
452 | \row \o Linux \o - \o linux-llvm \o -
|
---|
453 | \row \o Linux \o - \o linux-lsb-g++ \o -
|
---|
454 | \row \o LynxOS \o - \o lynxos-g++ \o -
|
---|
455 | \row \o Mac OS X \o - \o macx-llvm \o -
|
---|
456 | \row \o NetBSD \o - \o netbsd-g++ \o -
|
---|
457 | \row \o OpenBSD \o - \o openbsd-g++ \o -
|
---|
458 | \row \o Embedded Linux \o MIPS, PowerPC \o qws/linux-g++ \o GCC 3.4, 4.1, 4.2, 4.3
|
---|
459 | \endtable
|
---|
460 |
|
---|
461 | \section1 Unsupported Platforms
|
---|
462 |
|
---|
463 | The following platforms were supported in previous releases, either as actively supported
|
---|
464 | or community supported platforms, but are now unsupported.
|
---|
465 |
|
---|
466 | \table
|
---|
467 | \header \o OS \o Architecture \o Makespec \o Compiler version(s)
|
---|
468 | \row \o IRIX \o MIPS \o irix-cc* \o MIPS Pro
|
---|
469 | \row \o IRIX \o MIPS \o irix-g++* \o GCC 3.3
|
---|
470 | \row \o Windows XP/Vista \o Intel 32/64-bit \o win32-msvc \o Visual C++ 6.0
|
---|
471 | \row \o Windows XP/Vista \o Intel 32/64-bit \o win32-msvc2002 \o Visual Studio 2002
|
---|
472 | \row \o Windows XP/Vista \o Intel 32/64-bit \o win32-msvc.net \o Visual Studio 2002
|
---|
473 | \endtable
|
---|
474 |
|
---|
475 | Qt Software's online \l{Platform Support Policy} for Qt describes the level of
|
---|
476 | support you should expect for these platforms.
|
---|
477 |
|
---|
478 | \section1 Supported Features
|
---|
479 |
|
---|
480 | Not all compilers used to build Qt are able to compile all modules. The following table
|
---|
481 | shows the compiler support for five modules that are not uniformly available for all
|
---|
482 | platforms and compilers.
|
---|
483 |
|
---|
484 | \table
|
---|
485 | \header \o Compiler \o{5,1} Features
|
---|
486 | \header \o \o Concurrent \o XmlPatterns \o WebKit \o CLucene \o Phonon
|
---|
487 | \row \o g++ 3.3 \o \o \bold{X} \o \o \bold{X} \o \bold{X}
|
---|
488 | \row \o g++ 3.4 and up \o \bold{X} \o \bold{X} \o \bold{X} \o \bold{X} \o \bold{X}
|
---|
489 | \row
|
---|
490 | \row \o SunCC 5.5 \o \o \o \o \bold{X} \o \bold{X}
|
---|
491 | \row
|
---|
492 | \row \o aCC series 3 \o \o \o \o \bold{X} \o \bold{X}
|
---|
493 | \row \o aCC series 6 \o \bold{X} \o \bold{X} \o \bold{X} \o \bold{X} \o \bold{X}
|
---|
494 | \row \o xlC 6 \o \o \o \o \bold{X} \o \bold{X}
|
---|
495 | \row \o \l{Known Issues in 4.5.1}{Intel CC 10 (see note)}
|
---|
496 | \o \bold{X} \o \bold{X} \o \bold{X} \o \bold{X} \o \bold{X}
|
---|
497 | \row
|
---|
498 | \row \o MSVC 2003 \o \bold{X} \o \bold{X} \o \o \bold{X} \o \bold{X}
|
---|
499 | \row \o MSVC 2005 and up \o \bold{X} \o \bold{X} \o \bold{X} \o \bold{X} \o \bold{X}
|
---|
500 | \endtable
|
---|
501 | */
|
---|
502 |
|
---|
503 | /*!
|
---|
504 | \page platform-notes-windows-ce.html
|
---|
505 | \title Platform Notes - Windows CE
|
---|
506 | \contentspage Platform Notes
|
---|
507 |
|
---|
508 | This page contains information about the Windows CE and Windows Mobile
|
---|
509 | platforms Qt is currently known to run on, with links to platform-specific
|
---|
510 | notes. More information about the combinations of platforms and compilers
|
---|
511 | supported by Qt can be found on the \l{Supported Platforms} page.
|
---|
512 | */
|
---|
513 |
|
---|
514 | /*!
|
---|
515 | \page platform-notes-embedded-linux.html
|
---|
516 | \title Platform Notes - Embedded Linux
|
---|
517 | \contentspage Platform Notes
|
---|
518 |
|
---|
519 | This page contains information about the Embedded Linux platforms Qt is
|
---|
520 | currently known to run on, with links to platform-specific notes. More
|
---|
521 | information about the combinations of platforms and compilers supported
|
---|
522 | by Qt can be found on the \l{Supported Platforms} page.
|
---|
523 | */
|
---|
524 |
|
---|
525 | /*!
|
---|
526 | \page compiler-notes.html
|
---|
527 | \ingroup platform-notes
|
---|
528 | \title Compiler Notes
|
---|
529 | \brief Information about the C++ compilers and tools used to build Qt.
|
---|
530 |
|
---|
531 | This page contains information about the C++ compilers and tools used
|
---|
532 | to build Qt on various platforms.
|
---|
533 |
|
---|
534 | \tableofcontents
|
---|
535 |
|
---|
536 | Please refer to the \l{Platform Notes} for information on the platforms
|
---|
537 | Qt is currently known to run on, and see the \l{Supported Platforms}
|
---|
538 | page for information about the status of each platform.
|
---|
539 |
|
---|
540 | If you have anything to add to this list or any of the platform or
|
---|
541 | compiler-specific pages, please submit it via the
|
---|
542 | \l{Bug Report Form}.
|
---|
543 |
|
---|
544 | \target GCC
|
---|
545 | \section1 GCC
|
---|
546 |
|
---|
547 | \section2 GCC on Windows (MinGW)
|
---|
548 |
|
---|
549 | We have tested Qt with this compiler on Windows XP.
|
---|
550 | The minimal version of MinGW supported is:
|
---|
551 |
|
---|
552 | \list
|
---|
553 | \o GCC 3.4.2
|
---|
554 | \o MinGW runtime 3.7
|
---|
555 | \o win32api 3.2
|
---|
556 | \o binutils 2.15.91
|
---|
557 | \o mingw32-make 3.80.0-3
|
---|
558 | \endlist
|
---|
559 |
|
---|
560 | \section2 GCC 4.0.0
|
---|
561 |
|
---|
562 | The released package of the compiler has some bugs that lead to miscompilations.
|
---|
563 | We recommend using GCC 4.0.1 or later, or to use a recent CVS snapshot of the
|
---|
564 | GCC 4.0 branch. The version of GCC 4.0.0 that is shipped with Mac OS X 10.4
|
---|
565 | "Tiger" is known to work with Qt for Mac OS X.
|
---|
566 |
|
---|
567 | \section2 HP-UX
|
---|
568 |
|
---|
569 | The hpux-g++ platform is tested with GCC 3.4.4.
|
---|
570 |
|
---|
571 | \section2 Solaris
|
---|
572 |
|
---|
573 | Please use GCC 3.4.2 or later.
|
---|
574 |
|
---|
575 | \section2 Mac OS X
|
---|
576 |
|
---|
577 | Please use the latest GCC 3.3 from Apple or a later version of GCC 3.
|
---|
578 | The gcc 3.3 that is provided with Xcode 1.5 is known to generate bad code.
|
---|
579 | Use the November 2004 GCC 3.3 updater \l{http://connect.apple.com}{available from Apple}.
|
---|
580 |
|
---|
581 | \section2 GCC 3.4.6 (Debian 3.4.6-5) on AMD64 (x86_64)
|
---|
582 |
|
---|
583 | This compiler is known to miscompile some parts of Qt when doing a
|
---|
584 | release build. There are several workarounds:
|
---|
585 |
|
---|
586 | \list 1
|
---|
587 | \o Use a debug build instead.
|
---|
588 | \o For each miscompilation encountered, recompile the file, removing the -O2 option.
|
---|
589 | \o Add -fno-gcse to the QMAKE_CXXFLAGS_RELEASE.
|
---|
590 | \endlist
|
---|
591 |
|
---|
592 | \section1 HP ANSI C++ (aCC)
|
---|
593 |
|
---|
594 | The hpux-acc-32 and hpux-acc-64 platforms are tested with aCC A.03.57. The
|
---|
595 | hpuxi-acc-32 and hpuxi-acc-64 platforms are tested with aCC A.06.10.
|
---|
596 |
|
---|
597 | \section1 Intel C++ Compiler
|
---|
598 |
|
---|
599 | \warning Please see the \l{Known Issues in 4.5.1} page for information
|
---|
600 | about an issue with this compiler.
|
---|
601 |
|
---|
602 | \section2 Intel C++ Compiler for Linux
|
---|
603 |
|
---|
604 | Qt Software currently tests the following compilers:
|
---|
605 |
|
---|
606 | \list
|
---|
607 |
|
---|
608 | \o Intel(R) C++ Compiler for applications running on IA-32,
|
---|
609 | Version 10.1 Build 20080602 Package ID: l_cc_p_10.1.017
|
---|
610 |
|
---|
611 | \o Intel(R) C++ Compiler for applications running on Intel(R) 64,
|
---|
612 | Version 10.1 Build 20080602 Package ID: l_cc_p_10.1.017
|
---|
613 |
|
---|
614 | \endlist
|
---|
615 |
|
---|
616 | We do not currently test the IA-64 (Itanium) compiler.
|
---|
617 |
|
---|
618 | \section2 Known Issues with Intel C++ Compiler for Linux
|
---|
619 |
|
---|
620 | \list
|
---|
621 |
|
---|
622 | \o Precompiled header support does not work in version 10.0.025
|
---|
623 | and older. For these compilers, you should configure Qt with
|
---|
624 | -no-pch. Precompiled header support works properly in version
|
---|
625 | 10.0.026 and later.
|
---|
626 | \o Version 10.0.026 for Intel 64 is known to miscompile qmake when
|
---|
627 | building in release mode. For now, configure Qt with
|
---|
628 | -debug. Version 10.1.008 and later can compile qmake in release
|
---|
629 | mode.
|
---|
630 | \o Versions 10.1.008 to 10.1.015 for both IA-32 and Intel 64 are
|
---|
631 | known crash with "(0): internal error: 0_47021" when compiling
|
---|
632 | QtXmlPatterns, QtWebKit, and Designer in release mode. Version
|
---|
633 | 10.1.017 compiles these modules correctly in release mode.
|
---|
634 | \endlist
|
---|
635 |
|
---|
636 | \section2 Intel C++ Compiler (Windows, Altix)
|
---|
637 |
|
---|
638 | Qt 4 has been tested successfully with:
|
---|
639 |
|
---|
640 | \list
|
---|
641 | \o Windows - Intel(R) C++ Compiler for 32-bit applications,
|
---|
642 | Version 8.1 Build 20050309Z Package ID: W_CC_PC_8.1.026
|
---|
643 | \o Altix - Intel(R) C++ Itanium(R) Compiler for Itanium(R)-based
|
---|
644 | applications Version 8.1 Build 20050406 Package ID: l_cc_pc_8.1.030
|
---|
645 | \endlist
|
---|
646 |
|
---|
647 | We currently only test the Intel compiler on 32-bit Windows versions.
|
---|
648 |
|
---|
649 | \section1 MIPSpro (IRIX)
|
---|
650 |
|
---|
651 | \bold{IRIX is an unsupported platform. See the \l{Supported Platforms} page
|
---|
652 | and Qt's Software's online \l{Platform Support Policy} page for details.}
|
---|
653 |
|
---|
654 | Qt 4.4.x requires MIPSpro version 7.4.2m.
|
---|
655 |
|
---|
656 | Note that MIPSpro version 7.4.4m is currently not supported, since it has
|
---|
657 | introduced a number of problems that have not yet been resolved.
|
---|
658 | We recommend using 7.4.2m for Qt development. However, please note the
|
---|
659 | unsupported status of this platform.
|
---|
660 |
|
---|
661 | \target Sun Studio
|
---|
662 | \section1 Forte Developer / Sun Studio (Solaris)
|
---|
663 |
|
---|
664 | \section2 Sun Studio
|
---|
665 |
|
---|
666 | Qt is tested using Sun Studio 8 (Sun CC 5.5). Go to
|
---|
667 | \l{Sun Studio Patches} page on Sun's Web site to download
|
---|
668 | the latest patches for your Sun compiler.
|
---|
669 |
|
---|
670 | \section2 Sun WorkShop 5.0
|
---|
671 |
|
---|
672 | Sun WorkShop 5.0 is not supported with Qt 4.
|
---|
673 |
|
---|
674 | \section1 Visual Studio (Windows)
|
---|
675 |
|
---|
676 | We do most of our Windows development on Windows XP, using Microsoft
|
---|
677 | Visual Studio .NET 2005 and Visual Studio 2008 (both the 32- and 64-bit
|
---|
678 | versions).
|
---|
679 |
|
---|
680 | Qt works with the Standard Edition, the Professional Edition and Team
|
---|
681 | System Edition of Visual Studio 2005.
|
---|
682 |
|
---|
683 | We also test Qt 4 on Windows XP with Visual Studio .NET and Visual Studio 2003.
|
---|
684 |
|
---|
685 | In order to use Qt with the Visual Studio 2005/2008 Express Edition you need
|
---|
686 | to download and install the platform SDK. Due to limitations in the
|
---|
687 | Express Edition it is not possible for us to install the Qt Visual
|
---|
688 | Studio Integration. You will need to use our command line tools to
|
---|
689 | build Qt applications with this edition.
|
---|
690 |
|
---|
691 | The Visual C++ Linker doesn't understand filenames with spaces (as in
|
---|
692 | \c{C:\Program files\Qt\}) so you will have to move it to another place,
|
---|
693 | or explicitly set the path yourself; for example:
|
---|
694 |
|
---|
695 | \snippet doc/src/snippets/code/doc_src_compiler-notes.qdoc 0
|
---|
696 |
|
---|
697 | If you are experiencing strange problems with using special flags that
|
---|
698 | modify the alignment of structure and union members (such as \c{/Zp2})
|
---|
699 | then you will need to recompile Qt with the flags set for the
|
---|
700 | application as well.
|
---|
701 |
|
---|
702 | If you're using Visual Studio .NET (2002) Standard Edition, you should be
|
---|
703 | using the Qt binary package provided, and not the source package.
|
---|
704 | As the Standard Edition does not optimize compiled code, your compiled
|
---|
705 | version of Qt would perform suboptimally with respect to speed.
|
---|
706 |
|
---|
707 | With Visual Studio 2005 Service Pack 1 a bug was introduced which
|
---|
708 | causes Qt not to compile, this has been fixed with a hotfix available
|
---|
709 | from Microsoft. See this
|
---|
710 | \l{http://www.qtsoftware.com/developer/faqs/faq.2006-12-18.3281869860}{Knowledge Base entry}
|
---|
711 | for more information.
|
---|
712 |
|
---|
713 | \section1 IBM xlC (AIX)
|
---|
714 |
|
---|
715 | The makeC++SharedLib utility must be in your PATH and be up to date to
|
---|
716 | build shared libraries. From IBM's
|
---|
717 | \l{http://www.redbooks.ibm.com/abstracts/sg245674.html}{C and C++ Application Development on AIX}
|
---|
718 | Redbook:
|
---|
719 |
|
---|
720 | \list
|
---|
721 | \o "The second step is to use the makeC++SharedLib command to create the
|
---|
722 | shared object. The command has many optional arguments, but in its
|
---|
723 | simplest form, can be used as follows:"
|
---|
724 | \snippet doc/src/snippets/code/doc_src_compiler-notes.qdoc 1
|
---|
725 | \o "The full path name to the command is not required; however, to avoid
|
---|
726 | this, you will have to add the directory in which it is located to
|
---|
727 | your PATH environment variable. The command is located in the
|
---|
728 | /usr/vacpp/bin directory with the VisualAge C++ Professional for AIX,
|
---|
729 | Version 5 compiler."
|
---|
730 | \endlist
|
---|
731 |
|
---|
732 | \section2 VisualAge C++ for AIX, Version 6.0
|
---|
733 |
|
---|
734 | Make sure you have the
|
---|
735 | \l{http://www-1.ibm.com/support/search.wss?rs=32&tc=SSEP5D&dc=D400}{latest upgrades}
|
---|
736 | installed.
|
---|
737 | */
|
---|