source: trunk/doc/html/emb-envvars.html

Last change on this file was 190, checked in by rudi, 14 years ago

reference documentation added

File size: 4.8 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/doc/envvars.doc:36 -->
3<html>
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6<title>Qt/Embedded environment variables</title>
7<style type="text/css"><!--
8fn { margin-left: 1cm; text-indent: -1cm; }
9a:link { color: #004faf; text-decoration: none }
10a:visited { color: #672967; text-decoration: none }
11body { background: #ffffff; color: black; }
12--></style>
13</head>
14<body>
15
16<table border="0" cellpadding="0" cellspacing="0" width="100%">
17<tr bgcolor="#E5E5E5">
18<td valign=center>
19 <a href="index.html">
20<font color="#004faf">Home</font></a>
21 | <a href="classes.html">
22<font color="#004faf">All&nbsp;Classes</font></a>
23 | <a href="mainclasses.html">
24<font color="#004faf">Main&nbsp;Classes</font></a>
25 | <a href="annotated.html">
26<font color="#004faf">Annotated</font></a>
27 | <a href="groups.html">
28<font color="#004faf">Grouped&nbsp;Classes</font></a>
29 | <a href="functions.html">
30<font color="#004faf">Functions</font></a>
31</td>
32<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Qt/Embedded environment variables</h1>
33
34
35
36<p> <center><table cellpadding="4" cellspacing="2" border="0">
37<tr bgcolor="#a2c511"> <th valign="top">Variable <th valign="top">Notes
38<tr bgcolor="#f0f0f0">
39<td valign="top">QWS_SW_CURSOR
40<td valign="top">If defined, always use a software mouse cursor even when using an
41accelerated driver that supports a hardware cursor
42<tr bgcolor="#d0d0d0">
43<td valign="top">QWS_DISPLAY
44<td valign="top">Defines the display type and framebuffer, e.g.
45<tt>Voodoo3 Mach64:/dev/fb1</tt>
46Defaults to an unaccelerated Linux framebuffer driver on <tt>/dev/fb0</tt>.
47Valid drivers are QVfb, VGA16, LinuxFb (unaccelerated Linux framebuffer),
48Mach64 (accelerated for ATI Mach64 cards such as the Rage Pro),
49Voodoo3 (accelerated for the 3dfx Voodoo 3, should also work on Voodoo
50Banshee), Matrox (should work on all Matrox graphics cards since the
51Matrox Millennium), Transformed (for rotated displays), SVGALIB and
52VNC. Transformed displays have a special format: within the
53specification should be a multiple of 90 degrees rotation specified as
54Rot&lt;x&gt;, for instance Transformed:Rot90.
55<tr bgcolor="#f0f0f0">
56<td valign="top">QTDIR
57<td valign="top">If defined this tells Qt/Embedded to where to find its fonts:
58fontdir should be in <tt>$QTDIR/etc/fonts/</tt>. If undefined it's assumed
59to be <tt>/usr/local/qt-embedded</tt>
60<tr bgcolor="#d0d0d0">
61<td valign="top">QWS_SIZE
62<td valign="top">If defined forces Qt/Embedded into a window of &lt;width&gt; x
63&lt;height&gt; size centred within the screen, e.g. 320x200
64<tr bgcolor="#f0f0f0">
65<td valign="top">QWS_NOMTRR
66<td valign="top">If defined, don't use Memory Type Range Registers to define the framebuffer
67as write-combined on x86. Write-combining speeds up graphics output.
68<tr bgcolor="#d0d0d0">
69<td valign="top">QWS_CARD_SLOT
70<td valign="top">Tells the accelerated drivers which card to attempt to accelerate.
71This should be a path in <tt>/proc/bus/pci</tt>. It defaults to
72<tt>/proc/bus/pci/01/00.0</tt> - the first device on the second PCI bus in the
73system, which is normally the AGP card.
74<tr bgcolor="#f0f0f0">
75<td valign="top">QWS_USB_KEYBOARD
76<td valign="top">If defined, instead of opening <tt>/dev/tty</tt> open the USB low-level
77event device defined in QWS_USB_KEYBOARD (e.g. <tt>/dev/input/event0</tt>):
78this is useful if you wish to run X and Qt/Embedded side by side on
79different framebuffers.
80<tr bgcolor="#d0d0d0">
81<td valign="top">QWS_MOUSE_PROTO
82<td valign="top">Defined as &lt;type&gt;:&lt;device&gt;, e.g. <tt>Microsoft:/dev/ttyS0</tt>. If you want to
83use a USB mouse directly (separate from X) use <tt>MouseMan:/dev/input/mouse0</tt>
84or similar. Valid mouse protocls are Auto (automatically sense protocol),
85MouseMan, IntelliMouse, Microsoft, QVfbMouse (only useful with QVfb)
86and TPanel, a sample touch panel driver.
87<tr bgcolor="#f0f0f0">
88<td valign="top">QWS_KEYBOARD
89<td valign="top">Defines the keyboard type. Multiple keyboards can be handled at once,
90input will be read from all of them. Valid values:
91Buttons (an iPaq button device if QT_QWS_IPAQ is compiled, otherwise
92one for the Cassiopeia), QVfbKeyboard (only useful with QVfb),
93and TTY (either a USB keyboard or <tt>/dev/tty</tt> depending if QWS_USB_KEYBOARD
94is defined)
95<p> </table></center>
96<p>
97<!-- eof -->
98<p><address><hr><div align=center>
99<table width=100% cellspacing=0 border=0><tr>
100<td>Copyright &copy; 2007
101<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
102<td align=right><div align=right>Qt 3.3.8</div>
103</table></div></address></body>
104</html>
Note: See TracBrowser for help on using the repository browser.