summaryrefslogtreecommitdiffstats
path: root/doc/html/emb-envvars.html
blob: 78e0fa9461729976b8b3bba2ec6eafe44d3c6661 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/doc/envvars.doc:36 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>TQt/Embedded environment variables</title>
<style type="text/css"><!--
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&nbsp;Classes</font></a>
 | <a href="mainclasses.html">
<font color="#004faf">Main&nbsp;Classes</font></a>
 | <a href="annotated.html">
<font color="#004faf">Annotated</font></a>
 | <a href="groups.html">
<font color="#004faf">Grouped&nbsp;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>TQt/Embedded environment variables</h1>



<p> <center><table cellpadding="4" cellspacing="2" border="0">
<tr bgcolor="#a2c511"> <th valign="top">Variable <th valign="top">Notes
<tr bgcolor="#f0f0f0">
<td valign="top">TQWS_SW_CURSOR
<td valign="top">If defined, always use a software mouse cursor even when using an
accelerated driver that supports a hardware cursor
<tr bgcolor="#d0d0d0">
<td valign="top">TQWS_DISPLAY
<td valign="top">Defines the display type and framebuffer, e.g.
<tt>Voodoo3 Mach64:/dev/fb1</tt>
Defaults to an unaccelerated Linux framebuffer driver on <tt>/dev/fb0</tt>.
Valid drivers are TQVfb, VGA16, LinuxFb (unaccelerated Linux framebuffer),
Mach64 (accelerated for ATI Mach64 cards such as the Rage Pro),
Voodoo3 (accelerated for the 3dfx Voodoo 3, should also work on Voodoo
Banshee), Matrox (should work on all Matrox graphics cards since the
Matrox Millennium), Transformed (for rotated displays), SVGALIB and
VNC. Transformed displays have a special format: within the
specification should be a multiple of 90 degrees rotation specified as
Rot&lt;x&gt;, for instance Transformed:Rot90.
<tr bgcolor="#f0f0f0">
<td valign="top">QTDIR
<td valign="top">If defined this tells TQt/Embedded to where to find its fonts:
fontdir should be in <tt>$QTDIR/etc/fonts/</tt>. If undefined it's assumed
to be <tt>/usr/local/qt-embedded</tt>
<tr bgcolor="#d0d0d0">
<td valign="top">TQWS_SIZE
<td valign="top">If defined forces TQt/Embedded into a window of &lt;width&gt; x
&lt;height&gt; size centred within the screen, e.g. 320x200
<tr bgcolor="#f0f0f0">
<td valign="top">TQWS_NOMTRR
<td valign="top">If defined, don't use Memory Type Range Registers to define the framebuffer
as write-combined on x86. Write-combining speeds up graphics output.
<tr bgcolor="#d0d0d0">
<td valign="top">TQWS_CARD_SLOT
<td valign="top">Tells the accelerated drivers which card to attempt to accelerate.
This should be a path in <tt>/proc/bus/pci</tt>. It defaults to
<tt>/proc/bus/pci/01/00.0</tt> - the first device on the second PCI bus in the
system, which is normally the AGP card.
<tr bgcolor="#f0f0f0">
<td valign="top">TQWS_USB_KEYBOARD
<td valign="top">If defined, instead of opening <tt>/dev/tty</tt> open the USB low-level
event device defined in TQWS_USB_KEYBOARD (e.g. <tt>/dev/input/event0</tt>):
this is useful if you wish to run X and TQt/Embedded side by side on
different framebuffers.
<tr bgcolor="#d0d0d0">
<td valign="top">TQWS_MOUSE_PROTO
<td valign="top">Defined as &lt;type&gt;:&lt;device&gt;, e.g. <tt>Microsoft:/dev/ttyS0</tt>. If you want to
use a USB mouse directly (separate from X) use <tt>MouseMan:/dev/input/mouse0</tt>
or similar. Valid mouse protocls are Auto (automatically sense protocol),
MouseMan, IntelliMouse, Microsoft, TQVfbMouse (only useful with TQVfb)
and TPanel, a sample touch panel driver.
<tr bgcolor="#f0f0f0">
<td valign="top">TQWS_KEYBOARD
<td valign="top">Defines the keyboard type. Multiple keyboards can be handled at once,
input will be read from all of them. Valid values:
Buttons (an iPaq button device if QT_QWS_IPAQ is compiled, otherwise
one for the Cassiopeia), TQVfbKeyboard (only useful with TQVfb),
and TTY (either a USB keyboard or <tt>/dev/tty</tt> depending if TQWS_USB_KEYBOARD
is defined)
<p> </table></center>
<p> 
<!-- eof -->
<p><address><hr><div align=center>
<table width=100% cellspacing=0 border=0><tr>
<td>Copyright &copy; 2007
<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
<td align=right><div align=right>TQt 3.3.8</div>
</table></div></address></body>
</html>