<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- /tmp/qt-3.0-reggie-28534/qt-x11-free-3.0.2/doc/winsystem.doc:36 --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Window System-specific Notes</title> <style type="text/css"><!-- h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } a:visited { color: #672967; text-decoration: none } body { background: #ffffff; color: black; } --></style> </head> <body> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr bgcolor="#E5E5E5"> <td valign=center> <a href="index.html"> <font color="#004faf">Home</font></a> | <a href="classes.html"> <font color="#004faf">All Classes</font></a> | <a href="mainclasses.html"> <font color="#004faf">Main Classes</font></a> | <a href="annotated.html"> <font color="#004faf">Annotated</font></a> | <a href="groups.html"> <font color="#004faf">Grouped Classes</font></a> | <a href="functions.html"> <font color="#004faf">Functions</font></a> </td> <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Window System-specific Notes</h1> <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> statements (see below). <p> For information about which platforms are supported by Qt, see the <a href="http://www.trolltech.com/products/platforms/">Platform Notes</a>. <p> <a name="x11"></a> <h2> Qt/X11 </h2> <a name="1"></a><p> When compiling for this platform, the macro <tt>Q_WS_X11</tt> is defined. <p> <em>Not documented here. Please contact Trolltech Technical Support if you have queries.</em> <p> <a name="win"></a> <h2> Qt/Windows </h2> <a name="2"></a><p> When compiling for this platform, the macro <tt>Q_WS_WIN</tt> is defined. <p> <em>Not documented here. Please contact Trolltech Technical Support if you have queries.</em> <p> <a name="mac"></a> <h2> Qt/MacOSX </h2> <a name="3"></a><p> When compiling for this platform, the macro <tt>Q_WS_MACX</tt> is defined. <p> <em>Not documented here. Please contact Trolltech Technical Support if you have queries.</em> <p> <a name="qws"></a> <h2> Qt/Embedded </h2> <a name="4"></a><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> <ul> <li> <a href="emb-install.html">Installation</a> <li> <a href="emb-performance.html">Qt/Embedded performance tuning</a> <li> <a href="emb-running.html">Running Qt/Embedded applications</a> <li> <a href="emb-porting.html">Porting your applications to Qt/Embedded</a> <li> <a href="emb-fonts.html">Font formats and definitions</a> <li> <a href="emb-charinput.html">Character input (keyboard, pen, ...)</a> <li> <a href="emb-pointer.html">Pointer handling (mouse, pen, ...)</a> <li> <a href="emb-features.html">Reduce memory use with the feature definition file</a> <li> <a href="emb-casestudy.html">A case study embedding on Cassiopeia</a> </ul> <p> <!-- eof --> <p><address><hr><div align=center> <table width=100% cellspacing=0 border=0><tr> <td>Copyright © 2001 <a href="http://www.trolltech.com">Trolltech</a><td><a href="http://www.trolltech.com/trademarks.html">Trademarks</a> <td align=right><div align=right>Qt version 3.0.2</div> </table></div></address></body> </html>