Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 1876

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /home/gvatteka/dev/qt-4.3/doc/src/platform-notes.qdoc -->
<head>
  <title>Platform Notes - X11</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1 align="center">Platform Notes - X11<br /><small></small></h1>
<p>This page contains information about the X11 platforms Qt is currently known to run on, with links to platform-specific notes.</p>
<ul><li><a href="#aix-5-1-or-later">AIX - 5.1 or later</a></li>
<li><a href="#freebsd-6-0-release">FreeBSD - 6.0-RELEASE</a></li>
<li><a href="#hp-ux-pa-risc-b-11-xx-or-later">HP-UX PA-RISC - B.11.xx or later</a></li>
<ul><li><a href="#64-bit">64 bit</a></li>
<li><a href="#hp-ux-11">HP-UX 11.*</a></li>
<li><a href="#hp-ux-11">HP-UX 11.*</a></li>
<li><a href="#hp-ux-11-designer-crash-when-using-exceptions">HP-UX 11.* designer crash when using exceptions</a></li>
<li><a href="#hp-ux-11-11">HP-UX 11.11</a></li>
<li><a href="#libxmu">libXmu</a></li>
<li><a href="#gcc-3-on-hp-ux">GCC 3.* on HP-UX</a></li>
</ul>
<li><a href="#irix-6-5-x">IRIX - 6.5&#x2e;x</a></li>
<li><a href="#linux">Linux</a></li>
<ul><li><a href="#installation-problems">Installation problems</a></li>
</ul>
<li><a href="#solaris-9-or-later">Solaris - 9 or later</a></li>
<ul><li><a href="#cc-on-solaris">CC on Solaris</a></li>
<li><a href="#gcc-on-solaris">GCC on Solaris</a></li>
<li><a href="#solaris-2-6">Solaris 2.6</a></li>
</ul>
</ul>
<a name="aix"></a><a name="aix-5-1-or-later"></a>
<h2>AIX - 5.1 or later</h2>
<p>Qt has been built on a range of versions from 5.1 upwards, using both the <a href="compiler-notes.html#xlc">AIX</tt></a> and <a href="compiler-notes.html#gcc">GCC</tt></a> compilers.</p>
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
<thead><tr valign="top" class="qt-style"><th>Compiler</th><th>Notes</th></tr></thead>
<tr valign="top" class="odd"><td><a href="compiler-notes.html#xlc"><tt>xlC</tt></a></td><td>If Qt is built correctly but all symbols are reported to be missing when you link an application, your makeC++SharedLib script might be out of date. Make sure you have the latest version from the <a href="http://www-306.ibm.com/software/awdtools/vacpp/support/">IBM website</tt></a>.</td></tr>
<tr valign="top" class="even"><td>GCC</td><td>We have tested Qt 4 successfully with GCC version 3.3 and above. Some versions of GCC may fail to link Qt with a &quot;TOC overflow&quot; message. Fix this by upgrading to the latest maintenance release of the dynamic linker. On AIX this is bos.rte.bind_cmds.4.1&#x2e;5&#x2e;3&#x2e; Some versions of GCC may fail to build Qt with STL and large-file support enabled, due to <a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9551">a bug in GCC</tt></a>. Fix this by upgrading to the latest maintenance release of the compiler. It is also possible to work around this problem by running configure with either <tt>-no-stl</tt> or <tt>-no-largefile</tt>.</td></tr>
</table></p>
<a name="freebsd"></a><a name="freebsd-6-0-release"></a>
<h2>FreeBSD - 6.0-RELEASE</h2>
<p>The system compiler on <a href="platform-notes-x11.html#freebsd"><tt>FreeBSD</tt></a> 4.x is gcc 2.95.4, which is not officially supported by Qt 4. We develop using and recommend ports/lang/gcc34. You will need to run configure with the <tt>-platform freebsd-g++34</tt> arguments. Optionally, you may use ports/lang/icc.</p>
<p>The system compiler on <a href="platform-notes-x11.html#freebsd"><tt>FreeBSD</tt></a> 5.x and 6.x is gcc 3.4&#x2e;4, which is officially supported by Qt. You do not need to add any special arguments when running configure. Optionally, you may use ports/lang/icc.</p>
<p>Note that we do not actively test <a href="platform-notes-x11.html#freebsd"><tt>FreeBSD</tt></a> 4.x and 5.x&#x2e; Our developers migrated to 6.x after the Qt 4 launch. <a href="platform-notes-x11.html#freebsd"><tt>FreeBSD</tt></a>-CURRENT is not supported.</p>
<a name="hp-ux"></a><a name="hp-ux-pa-risc-b-11-xx-or-later"></a>
<h2>HP-UX PA-RISC - B.11.xx or later</h2>
<a name="64-bit"></a>
<h3>64 bit</h3>
<p>We do not support GCC to make 64 bit binaries on PA-RISC. Please consider using aCC or producing 32 bit binaries. This is due to a bug in the compiler toolchain - there seems to be a mismatch between GCC and the HP-UX native 64 bit linker.</p>
<a name="hp-ux-11"></a>
<h3>HP-UX 11.*</h3>
<p>You may need linker patch <a href="http://www5.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_33032">PHSS_33032</a> (HP-UX 11.00) or <a href="http://www5.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_33033">PHSS_33033</a> (HP-UX 11.11).</p>
<a name="hp-ux-11"></a>
<h3>HP-UX 11.*</h3>
<p>This ships with a faulty /usr/include/resolv.h, which results in a linker error involving getres(). HP has released patches for it, <a href="http://www5.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_26111">PHCO_26111</a> (HP-UX 11.00) and <a href="http://www5.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_31923">PHCO_31923</a> (HP-UX 11.11).</p>
<a name="hp-ux-11-designer-crash-when-using-exceptions"></a>
<h3>HP-UX 11.* designer crash when using exceptions</h3>
<p>If you encounter problems with designer on this platform either:</p>
<ul>
<li>disable exceptions using the -no-exceptions option to configure, or</li>
<li>disable optimizations by editing $QTDIR/mkspecs/hpux-g++/qmake.conf and changing the line<br /><pre>    QMAKE_CFLAGS_RELEASE    = -O2</pre>
<p>to</p>
<pre>    QMAKE_CFLAGS_RELEASE    =</pre>
</li>
</ul>
<a name="hp-ux-11-11"></a>
<h3>HP-UX 11.11</h3>
<p>This ships with a faulty /usr/include/sys/socket.h, which makes many C++ programs fail to compile. HP has released a patch for it, <a href="http://www5.itrc.hp.com/service/patch/patchDetail.do?patchid=PHNE_33159">PHNE_33159</a>.</p>
<a name="libxmu"></a>
<h3>libXmu</h3>
<p>This library is needed for OpenGL support. If you get the error message</p>
<pre>    /usr/ccs/bin/ld: DP relative code in file ....</pre>
<p>when linking a shared Qt library you have to install the shared versions of <a href="platform-notes-x11.html#libxmu"><tt>libXmu</tt></a> and libXaw. HP have released patches for it, <a href="http://www5.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_29369">PHSS_29369</a>/ <a href="http://www5.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_29370">PHSS_29370</a> on HP-UX 11.00 (64-bit), <a href="http://www5.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_33130">PHSS_33130</a>/ <a href="http://www5.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_31001">PHSS_31001</a> on HP-UX 11.11, and <a href="http://www5.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_33550">PHSS_33550</a> on HP-UX 11.23.</p>
<a name="gcc-3-on-hp-ux"></a>
<h3>GCC 3.* on HP-UX</h3>
<p>This compiler gives compilation error</p>
<pre>    ANSI C++ forbids declaration ... with no type</pre>
<p>on systems with old X11 header files. This is fixed by patches <a href="http://www5.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_31001">PHSS_31001</a> on HP-UX 11.11 and <a href="http://www5.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_30261">PHSS_30261</a> on HP-UX 11.00.</p>
<a name="irix"></a><a name="irix-6-5-x"></a>
<h2>IRIX - 6.5&#x2e;x</h2>
<p>Unpackaging and IRIX tar: Because of long filenames some files will be cut off incorrectly with IRIX tar. Please use GNU tar to unpack Qt packages.</p>
<a name="linux"></a>
<h2>Linux</h2>
<p>There are no known problems with using Qt on production versions of Linux/x86, Linux/ppc, Linux/amd64 and Linux/ia64 (including Altix(R)). We do our Unix development mainly on Linux/x86.</p>
<p>For the gcc/g++ compiler, please also see the relevant <a href="compiler-notes.html#gcc">compiler page</tt></a>.</p>
<a name="installation-problems"></a>
<h3>Installation problems</h3>
<p>See also the <a href="http://www.trolltech.com/developer/faqs/Qt/installation">Installation FAQ</tt></a>.</p>
<p>If you experience problems when installing new Qt Open Source Edition versions, try to use the Qt Open Source Edition archives (e.g&#x2e; RPM) provided by your Linux provider. If you need to install the source (.tgz) archive, be aware that you will probably end up with two different versions of the Qt library installed on your system, which will probably lead to link errors, like this:</p>
<pre>    undefined reference to `_vt.11QPushButton'</pre>
<p>Fix this by removing the old version of the library.</p>
<p>If you have problems installing a Qt Open Source Edition Linux archive (e.g&#x2e; RPM), please consult your Linux provider (who made it), not us.</p>
<p>Some RPM versions have problems installing some of the Qt RPM archives where installation stops with an error message warning about a &quot;Failed Dependency&quot;. Use the <tt>--nodeps</tt> option to <tt>rpm</tt> to workaround this problem.</p>
<a name="solaris"></a><a name="solaris-9-or-later"></a>
<h2>Solaris - 9 or later</h2>
<a name="cc-on-solaris"></a>
<h3>CC on Solaris</h3>
<p>Be sure to check our <a href="compiler-notes.html#sun-studio">Forte Developer / Sun Studio</tt></a> notes.</p>
<a name="gcc-on-solaris"></a>
<h3>GCC on Solaris</h3>
<p>Be sure to check the installation notes for <a href="http://gcc.gnu.org/install/specific.html#x-x-solaris2">GCC on Solaris</tt></a>. Do not use GCC with Sun's assembler/linker, this will result in link-time errors in shared libraries. Use GNU binutils instead.</p>
<p>GCC 3.2&#x2e;* is known to miscompile Qt due to an optimizer bug that will cause the resulting binaries to hang.</p>
<p>GCC gives compilation error</p>
<pre>    ANSI C++ forbids declaration ... with no type</pre>
<p>on systems with old X11 header files. This is fixed by patches <a href="http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-108652">108652-24</tt></a> on Solaris 8, <a href="http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-108376">108376-21</tt></a> on Solaris 7, and <a href="http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-105633">105633-56</tt></a> on Solaris 2.6&#x2e;</p>
<a name="solaris-2-6"></a>
<h3>Solaris 2.6</h3>
<p>A crash on resize of widgets example has been reported, but not reproduced. Patch <a href="http://sunsolve.sun.com/search/document.do?assetkey=urn:cds:docid:1-21-105633">105633-21</tt></a> is reported to solve the problem. We are interested in hearing more details from anyone who can reproduce and track this problem closer.</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%">Copyright &copy; 2007 <a href="trolltech.html">Trolltech</a></td>
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="30%" align="right"><div align="right">Qt Jambi </div></td>
</tr></table></div></address></body>
</html>