<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <!-- /home/gvatteka/dev/qt-4.3/doc/src/emb-envvars.qdoc --> <head> <title>Qtopia Core Environment Variables</title> <link href="classic.css" rel="stylesheet" type="text/css" /> </head> <body> <h1 align="center">Qtopia Core Environment Variables<br /><small></small></h1> <p>These environment variables are relevant to Qtopia Core</tt> users.</p> <p><table align="center" cellpadding="2" cellspacing="1" border="0"> <thead><tr valign="top" class="qt-style"><th>Variable</th><th>Description</th></tr></thead> <tr valign="top" class="odd"><td><b>POINTERCAL_FILE</b> <a name="pointercal-file"></a></td><td>Specifies the file containing the data used to calibrate the pointer device.<p>See also QWSCalibratedMouseHandler and <a href="qtopiacore-pointer.html">Qtopia Core Pointer Handling</tt></a>.</p> </td></tr> <tr valign="top" class="even"><td><b>QT_ONSCREEN_PAINT</b> <a name="qt-onscreen-paint"></a></td><td>If defined, the application will render its widgets directly on screen. The affected regions of the screen will not be modified by the screen driver unless another window with a higher focus requests (parts of) the same region.<p>Setting this environment variable is equivalent to setting the Qt::WA_PaintOnScreen attribute for all the widgets in the application.</p> <p>See also the Qtopia Core <a href="qtopiacore-architecture.html#graphics-rendering">graphics rendering</tt></a> documentation.</p> </td></tr> <tr valign="top" class="odd"><td><b>QWS_SW_CURSOR</b> <a name="qws-sw-cursor"></a></td><td>If defined, the software mouse cursor is always used (even when using an accelerated driver that supports a hardware cursor).</td></tr> <tr valign="top" class="even"><td><b>QWS_DISPLAY</b> <a name="qws-display"></a></td><td>Specifies the display type and framebuffer. For example, if the current shell is bash, ksh, zsh or sh:<pre> export QWS_DISPLAY=<driver>[:<driver specific options>]... [:<display num>]</pre> <p>The valid values for the <tt><driver></tt> argument are <tt>LinuxFb</tt>, <tt>QVFb</tt>, <tt>VNC</tt>, <tt>Transformed</tt>, <tt>Multi</tt> and keys</tt> identifying custom drivers, and the <tt><display num></tt> argument is used to separate screens that are using the same screen driver and to enable multiple displays (see the <a href="qtopiacore-running.html">Running Qtopia Core Applications</tt></a> documentation for more details).</p> <p>The driver specific options are described in the <a href="qtopiacore-displaymanagement.html">display management</tt></a> documentation.</p> </td></tr> <tr valign="top" class="odd"><td><b>QWS_SIZE</b> <a name="qws-size"></a></td><td>Specifies the size of Qtopia Core</tt>'s window which is centered within the screen. For example, if the current shell is bash, ksh, zsh or sh:<pre> export QWS_SIZE=<width>x<height></pre> </td></tr> <tr valign="top" class="even"><td><b>QWS_MOUSE_PROTO</b> <a name="qws-mouse-proto"></a></td><td>Specifies the driver for pointer handling. For example, if the current shell is bash, ksh, zsh or sh:<pre> export QWS_MOUSE_PROTO=<driver>[:<driver specific options>]</pre> <p>The valid values for the <tt><driver></tt> argument are <tt>MouseMan</tt>, <tt>IntelliMouse</tt>, <tt>Microsoft</tt>, <tt>VR41xx</tt>, <tt>LinuxTP</tt>, <tt>Yopy</tt>. <tt>Tslib</tt> and keys</tt> identifying custom drivers, and the driver specific options are typically a device, e.g., <tt>/dev/mouse</tt> for mouse devices and <tt>/dev/ts</tt> for touch panels.</p> <p>Multiple keyboard drivers can be specified in one go:</p> <pre> export QWS_MOUSE_PROTO="<driver>[:<driver specific options>] <driver>[:<driver specific options>] <driver>[:<driver specific options>]"</pre> <p>Input will be read from all specified drivers. Note that the <tt>Vr41xx</tt> driver also accepts two optional arguments: <tt>press=<value></tt> defining a mouseclick (the default value is 750) and <tt>filter=<value></tt> specifying the length of the filter used to eliminate noise (the default length is 3). For example:</p> <pre> export QWS_MOUSE_PROTO="Vr41xx:press=500:/dev/misc/ts"</pre> <p>See also <a href="qtopiacore-pointer.html">Qtopia Core Pointer Handling</tt></a>.</p> </td></tr> <tr valign="top" class="odd"><td><b>QWS_KEYBOARD</b> <a name="qws-keyboard"></a></td><td>Specifies the driver and device for character input. For example, if the current shell is bash, ksh, zsh or sh:<pre> export QWS_KEYBOARD=<driver>[:<driver specific options>]</pre> <p>The valid values for the <tt><driver></tt> argument are <tt>SL5000</tt>, <tt>Yopy</tt>, <tt>VR41xx</tt>, <tt>TTY</tt>, <tt>USB</tt> and keys</tt> identifying custom drivers, and the driver specific options are typically a device, e.g., <tt>/dev/tty0</tt>.</p> <p>Multiple keyboard drivers can be specified in one go:</p> <pre> export QWS_KEYBOARD="<driver>[:<driver specific options>] <driver>[:<driver specific options>] <driver>[:<driver specific options>]"</pre> <p>Input will be read from all specified drivers.</p> <p>See also <a href="qtopiacore-charinput.html">Qtopia Core Character Input</tt></a>.</p> </td></tr> </table></p> <p /><address><hr /><div align="center"> <table width="100%" cellspacing="0" border="0"><tr class="address"> <td width="30%">Copyright © 2007 <a href="trolltech.html">Trolltech</a></td> <td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td> <td width="30%" align="right"><div align="right">Qt Jambi </div></td> </tr></table></div></address></body> </html>