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
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- emb-envvars.qdoc -->
<title>Qt 4.8: Qt for Embedded Linux Environment Variables</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="content">
<a href="index.html" class="qtref"><span>Qt Reference Documentation</span></a>
</div>
<div class="breadcrumb toolblock">
<ul>
<li class="first"><a href="index.html">Home</a></li>
<!-- Breadcrumbs go here -->
<li>Qt for Embedded Linux Environment Variables</li>
</ul>
</div>
</div>
<div class="content mainContent">
<h1 class="title">Qt for Embedded Linux Environment Variables</h1>
<span class="subtitle"></span>
<!-- $$$qt-embedded-envvars.html-description -->
<div class="descr"> <a name="details"></a>
<p>These environment variables are relevant to <a href="qt-embedded-linux.html">Qt for Embedded Linux</a> users.</p>
<table class="generic">
<thead><tr 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 <a href="qwscalibratedmousehandler.html">QWSCalibratedMouseHandler</a> and <a href="qt-embedded-pointer.html">Qt for Embedded Linux Pointer Handling</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 <a href="qt.html#WidgetAttribute-enum">Qt::WA_PaintOnScreen</a> attribute for all the widgets in the application.</p>
<p>See also the Qt for Embedded Linux <a href="qt-embedded-architecture.html#graphics-rendering">graphics rendering</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 class="cpp"> 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 <a href="qscreendriverplugin.html#keys">keys</a> 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="qt-embedded-running.html">Running Qt for Embedded Linux Applications</a> documentation for more details).</p>
<p>The driver specific options are described in the <a href="qt-embedded-displaymanagement.html">display management</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 the <a href="qt-embedded-linux.html">Qt for Embedded Linux</a> window which is centered within the screen. For example, if the current shell is bash, ksh, zsh or sh:<pre class="cpp"> 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 class="cpp"> 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>LinuxTP</tt>, <tt>LinuxInput</tt>, <tt>Tslib</tt> and <a href="qmousedriverplugin.html#keys">keys</a> 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 mouse drivers can be specified in one go:</p>
<pre class="cpp"> 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.</p>
<p>See also <a href="qt-embedded-pointer.html">Qt for Embedded Linux Pointer Handling</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 class="cpp"> export QWS_KEYBOARD=<driver>[:<driver specific options>]</pre>
<p>The valid values for the <tt><driver></tt> argument are <tt>TTY</tt>, <tt>LinuxInput</tt> and <a href="qkbddriverplugin.html#keys">keys</a> 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 class="cpp"> 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="qt-embedded-charinput.html">Qt for Embedded Linux Character Input</a>.</p>
</td></tr>
</table>
</div>
<!-- @@@qt-embedded-envvars.html -->
<div class="ft">
<span></span>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2012 Nokia Corporation and/or its
subsidiaries. Documentation contributions included herein are the copyrights of
their respective owners.</p>
<br />
<p>
The documentation provided herein is licensed under the terms of the
<a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation
License version 1.3</a> as published by the Free Software Foundation.</p>
<p>
Documentation sources may be obtained from <a href="http://www.qt-project.org">
www.qt-project.org</a>.</p>
<br />
<p>
Nokia, Qt and their respective logos are trademarks of Nokia Corporation
in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners. <a title="Privacy Policy"
href="http://en.gitorious.org/privacy_policy/">Privacy Policy</a></p>
</div>
</body>
</html>
|