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

[Contents]

Environment Variables

VariableDescription
QWS_SW_CURSOR If defined, always use a software mouse cursor even when using an accelerated driver that supports a hardware cursor.
QWS_DISPLAY Specifies the display type and framebuffer. For example, if the current shell is bash, ksh, zsh or sh:
    export QWS_DISPLAY=<gfx driver><:driver specific options><:display number>

The default value is an unaccelerated Linux framebuffer driver: /dev/fb0. Valid drivers are QVfb, LinuxFb (unaccelerated Linux framebuffer), Transformed (for rotated displays), and VNC (when running Qtopia Core as a VNC server).

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.

See also Running Applications, The Virtual Framebuffer and The VNC Protocol.

QWS_SIZE Specifies the size of Qtopia Core's window which is centered within the screen. For example, if the current shell is bash, ksh, zsh or sh:
    export QWS_SIZE=<width>x<height>
QWS_MOUSE_PROTO Specifies the driver and device for pointer handling. For example, if the current shell is bash, ksh, zsh or sh:
    export QWS_MOUSE_PROTO=<driver>:<device>

The available drivers are MouseMan, IntelliMouse, Microsoft, VR41xx, LinuxTP or Tslib, and the device is typically /dev/mouse, or /dev/ts for touch panels. Note that specifying the device is optional.

The default value is Auto which enables auto-detection of the mouse device if the "pc" mouse driver is enabled. Note that Qtopia Core does not support auto-detection of touch panels in which case the driver must be specified explicitly to determine which device to use.

See also Pointer Handling.

QWS_KEYBOARD Specifies the driver and device for character input. For example, if the current shell is bash, ksh, zsh or sh:
    export QWS_KEYBOARD=<driver>:<device>

The available drivers are SL5000, Yopy, VR41xx, TTY or USB, and the device is typically /dev/tty0. Note that specifying the device is optional.

Multiple keyboard drivers can be specified in one go:

    export QWS_KEYBOARD=<driver> <driver> <driver>:<device>

Input will be read from all of specified drivers.

See also Character Input.

[Contents]


Copyright © 2006 Trolltech Trademarks
Qt 4.1.3