Home · All Classes · Main Classes · Grouped Classes · Modules · Functions

Qtopia Core Environment Variables

VariableNotes
QWS_SW_CURSORIf defined, always use a software mouse cursor even when using an accelerated driver that supports a hardware cursor
QWS_DISPLAYDefines the display type and framebuffer. Defaults to an unaccelerated Linux framebuffer driver on /dev/fb0. Valid drivers are QVFb, LinuxFb (unaccelerated Linux framebuffer), Transformed (for rotated displays), and VNC. Transformed displays have a special format: the specification should include a rotation as a multiple of 90 degrees given as Rot<x>, for instance Transformed:Rot90.
QTDIRIf defined this tells Qtopia Core to where to find its fonts: fontdir should be in $QTDIR/lib/fonts/.
QWS_SIZEIf defined forces Qtopia Core into a window of <width> x <height> size centred within the screen, e.g. 320x200
QWS_NOMTRRIf defined, don't use Memory Type Range Registers to define the framebuffer as write-combined on x86. Write-combining speeds up graphics output.
QWS_USB_KEYBOARDIf defined, instead of opening /dev/tty, open the USB low-level event device defined in QWS_USB_KEYBOARD (e.g. /dev/input/event0): this is useful if you want to run X and Qtopia Core side by side on different framebuffers.
QWS_MOUSE_PROTODefined as <type>:<device>, e.g. Microsoft:/dev/ttyS0. If you want to use a USB mouse directly (separate from X) use MouseMan:/dev/input/mouse0 or similar. Valid mouse protocls are Auto (automatically sense protocol), MouseMan, IntelliMouse, Microsoft, QVfbMouse (only useful with QVfb) and TPanel, an example touch panel driver.
QWS_KEYBOARDDefines 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), QVfbKeyboard (only useful with QVfb), and TTY (either a USB keyboard or /dev/tty depending if QWS_USB_KEYBOARD is defined)


Copyright © 2005 Trolltech Trademarks
Qt 4.1.0
Hosted by uCoz