File: envvars.doc

package info (click to toggle)
qt-embedded-free 3.0.3-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 91,492 kB
  • ctags: 67,431
  • sloc: cpp: 427,709; ansic: 128,011; sh: 21,353; yacc: 2,874; xml: 2,310; python: 1,863; perl: 481; lex: 453; makefile: 426; sql: 29; lisp: 15
file content (111 lines) | stat: -rw-r--r-- 4,222 bytes parent folder | download | duplicates (2)
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
105
106
107
108
109
110
111
/****************************************************************************
** $Id:  qt/envvars.doc   3.0.3   edited Nov 29 23:48 $
**
** The environment variables Qt/Embedded takes notice of
**
** Copyright (C) 1992-2000 Trolltech AS.  All rights reserved.
**
** This file is part of the Qt GUI Toolkit.
**
** This file may be distributed under the terms of the Q Public License
** as defined by Trolltech AS of Norway and appearing in the file
** LICENSE.QPL included in the packaging of this file.
**
** This file may be distributed and/or modified under the terms of the
** GNU General Public License version 2 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.
**
** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
** licenses may use this file in accordance with the Qt Commercial License
** Agreement provided with the Software.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
**   information about Qt Commercial License Agreements.
** See http://www.trolltech.com/qpl/ for QPL licensing information.
** See http://www.trolltech.com/gpl/ for GPL licensing information.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/

/*! \page emb-envvars.html

\title Qt/Embedded environment variables

\table
\header \i Variable \i Notes

\row
\i QWS_SW_CURSOR
\i If defined, always use a software mouse cursor even when using an
accelerated driver that supports a hardware cursor

\row
\i QWS_DISPLAY
\i Defines display type and framebuffer, e.g.
\c{Voodoo3 Mach64:/dev/fb1}
Defaults to unaccelerated Linux framebuffer driver on \c /dev/fb0.
Valid drivers are QVfb, 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\<x\>,
for instance Transformed:Rot90.

\row
\i QTDIR
\i If defined tells Qt/Embedded to where to find its fonts - fontdir
should be in \c $QTDIR/etc/fonts/. If undefined it's assumed to be
\c /usr/local/qt-embedded

\row
\i QWS_SIZE
\i If defined forces Qt/Embedded into a window of \<width\> x
\<height\> size centred within the screen, e.g. 320x200

\row
\i QWS_NOMTRR
\i If defined, don't use Memory Type Range Registers to define the framebuffer
as write-combined on x86. Write-combining speeds up graphics output.

\row
\i QWS_CARD_SLOT
\i Tells the accelerated drivers which card to attempt to accelerate.
This should be a path in \c /proc/bus/pci. It defaults to
\c /proc/bus/pci/01/00.0 - the first device on the second PCI bus in the
system, which is normally the AGP card.

\row
\i QWS_USB_KEYBOARD
\i If defined, instead of opening \c /dev/tty open the USB low-level
event device defined in QWS_USB_KEYBOARD (e.g. \c /dev/input/event0) -
this is useful if you wish to run X and Qt/Embedded side by side on
different framebuffers.

\row
\i QWS_MOUSE_PROTO
\i Defined as \<type\>:\<device\>, e.g. \c{Microsoft:/dev/ttyS0}. If you want to
use a USB mouse directly (separate from X) use \c{MouseMan:/dev/input/mouse0}
or similar. Valid mouse protocls are Auto (automatically sense protocol),
MouseMan, IntelliMouse, Microsoft, QVfbMouse (only useful with QVfb)
and TPanel, a sample touch panel driver.

\row
\i QWS_KEYBOARD
\i 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), QVfbKeyboard (only useful with QVfb),
and TTY (either a USB keyboard or \c /dev/tty depending if QWS_USB_KEYBOARD
is defined)

\endtable

*/