~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/winsystem.html

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<!DOCTYPE html
 
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
5
<!-- /tmp/qt-4.0.0-espenr-1119621036935/qt-x11-opensource-desktop-4.0.0/doc/src/winsystem.qdoc -->
 
6
<head>
 
7
    <title>Qt 4.0: Window System Specific Notes</title>
 
8
    <style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
 
9
a:link { color: #004faf; text-decoration: none }
 
10
a:visited { color: #672967; text-decoration: none }
 
11
td.postheader { font-family: sans-serif }
 
12
tr.address { font-family: sans-serif }
 
13
body { background: #ffffff; color: black; }</style>
 
14
</head>
 
15
<body>
 
16
<table border="0" cellpadding="0" cellspacing="0" width="100%">
 
17
<tr>
 
18
<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></td>
 
19
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="annotated.html"><font color="#004faf">Annotated</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
 
20
<td align="right" valign="top" width="230"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></td></tr></table><h1 align="center">Window System Specific Notes</h1>
 
21
<p>Qt is a cross-platform GUI toolkit, so almost the entire API is the same on all platforms and window systems. If you wish to use platform-specific features, and still maintain a platform-independent source tree, you should protect the platform-specific code using the appropriate <tt>#ifdef</tt> directives (see below).</p>
 
22
<ul><li><a href="#qt-x11">Qt/X11</a></li>
 
23
<li><a href="#qt-windows">Qt/Windows</a></li>
 
24
<li><a href="#qt-mac-os-x">Qt/Mac OS X</a></li>
 
25
<li><a href="#qt-embedded">Qt/Embedded</a></li>
 
26
</ul>
 
27
<p>For information about which platforms are supported by Qt, see the <a href="http://www.trolltech.com/products/platforms/">Platform Notes</a>. For information on distributing Qt applications, see <a href="distributingqt.html">Deploying Qt Applications</a>.</p>
 
28
<a name="x11"></a><a name="qt-x11"></a>
 
29
<h2>Qt/X11</h2>
 
30
<p>When compiling for this platform, the macro <tt>Q_WS_X11</tt> is defined.</p>
 
31
<p><i>Not documented here. Please contact Trolltech Technical Support if you have queries.</i></p>
 
32
<center><img src="images/dependencies.png" alt="Qt/X11 Dependencies" /></center><p>Note: You must compile with <i>both</i> Xft and XRender support to get alpha transparency support for pixmaps and images. Configuring with XRender support alone is not enough.</p>
 
33
<a name="win"></a><a name="qt-windows"></a>
 
34
<h2>Qt/Windows</h2>
 
35
<p>When compiling for this platform, the macro <tt>Q_WS_WIN</tt> is defined.</p>
 
36
<p><i>Not documented here. Please contact Trolltech Technical Support if you have queries.</i></p>
 
37
<a name="macosx"></a><a name="qt-mac-os-x"></a>
 
38
<h2>Qt/Mac OS X</h2>
 
39
<p>When compiling for this platform, the macro <tt>Q_WS_MAC</tt> is defined.</p>
 
40
<ul>
 
41
<li><a href="mac-differences.html">Qt/Mac-Specific Issues</a></li>
 
42
<li><a href="qtmac-as-native.html">Qt/Mac is Mac OS X Native</a></li>
 
43
</ul>
 
44
<a name="qws"></a><a name="qt-embedded"></a>
 
45
<h2>Qt/Embedded</h2>
 
46
<p><b>Note:</b> <i>(A version of Qt 4 for embedded Linux will be available in August/September 2005.)</i></p>
 
47
<p>When compiling for this platform, the macro <tt>Q_WS_QWS</tt> is defined (the window system is literally the Qt Window System).</p>
 
48
<p /><address><hr /><div align="center">
 
49
<table width="100%" cellspacing="0" border="0"><tr class="address">
 
50
<td width="30%">Copyright &copy; 2005 <a href="trolltech.html">Trolltech</a></td>
 
51
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
52
<td width="30%" align="right"><div align="right">Qt 4.0.0</div></td>
 
53
</tr></table></div></address></body>
 
54
</html>