{"id":327,"date":"2014-11-10T19:47:06","date_gmt":"2014-11-10T11:47:06","guid":{"rendered":"http:\/\/www.datarelab.com\/blog\/?p=327"},"modified":"2015-01-18T19:03:12","modified_gmt":"2015-01-18T11:03:12","slug":"qt-for-embedded-linux-environment-variables","status":"publish","type":"post","link":"https:\/\/www.datarelab.com\/blog\/Technical_literature\/327.html","title":{"rendered":"Qt for Embedded Linux Environment Variables"},"content":{"rendered":"<p>These environment variables are relevant to <a href=\"http:\/\/doc.qt.digia.com\/4.6\/qt-embedded-linux.html\">Qt for Embedded Linux<\/a> users.<\/p>\n<table class=\"generic\" border=\"0\" cellspacing=\"1\" cellpadding=\"2\" align=\"center\">\n<thead>\n<tr class=\"qt-style\" valign=\"top\">\n<th>Variable<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"odd\" valign=\"top\">\n<td><b>POINTERCAL_FILE<\/b><a name=\"pointercal-file\"><\/a><\/td>\n<td>Specifies the file containing the data used to calibrate the pointer device.See also <a href=\"http:\/\/doc.qt.digia.com\/4.6\/qwscalibratedmousehandler.html\">QWSCalibratedMouseHandler<\/a> and <a href=\"http:\/\/doc.qt.digia.com\/4.6\/qt-embedded-pointer.html\">Qt for Embedded Linux Pointer Handling<\/a>.<\/td>\n<\/tr>\n<tr class=\"even\" valign=\"top\">\n<td><b>QT_ONSCREEN_PAINT<\/b><a name=\"qt-onscreen-paint\"><\/a><\/td>\n<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.Setting this environment variable is equivalent to setting the <a href=\"http:\/\/doc.qt.digia.com\/4.6\/qt.html#WidgetAttribute-enum\">Qt::WA_PaintOnScreen<\/a> attribute for all the widgets in the application.See also the Qt for Embedded Linux <a href=\"http:\/\/doc.qt.digia.com\/4.6\/qt-embedded-architecture.html#graphics-rendering\">graphics rendering<\/a> documentation.<\/td>\n<\/tr>\n<tr class=\"odd\" valign=\"top\">\n<td><b>QWS_SW_CURSOR<\/b><a name=\"qws-sw-cursor\"><\/a><\/td>\n<td>If defined, the software mouse cursor is always used (even when using an accelerated driver that supports a hardware cursor).<\/td>\n<\/tr>\n<tr class=\"even\" valign=\"top\">\n<td><b>QWS_DISPLAY<\/b><a name=\"qws-display\"><\/a><\/td>\n<td>Specifies the display type and framebuffer. For example, if the current shell is bash, ksh, zsh or sh:<\/p>\n<pre> export QWS_DISPLAY=&lt;driver&gt;[:&lt;driver specific options&gt;]...\r\n         [:&lt;display num&gt;]<\/pre>\n<p>The valid values for the <tt>&lt;driver&gt;<\/tt> argument are <tt>LinuxFb<\/tt>, <tt>QVFb<\/tt>, <tt>VNC<\/tt>, <tt>Transformed<\/tt>, <tt>Multi<\/tt> and <a href=\"http:\/\/doc.qt.digia.com\/4.6\/qscreendriverplugin.html#keys\">keys<\/a> identifying custom drivers, and the <tt>&lt;display num&gt;<\/tt> argument is used to separate screens that are using the same screen driver and to enable multiple displays (see the <a href=\"http:\/\/doc.qt.digia.com\/4.6\/qt-embedded-running.html\">Running Qt for Embedded Linux Applications<\/a> documentation for more details).<\/p>\n<p>The driver specific options are described in the <a href=\"http:\/\/doc.qt.digia.com\/4.6\/qt-embedded-displaymanagement.html\">display management<\/a> documentation.<\/td>\n<\/tr>\n<tr class=\"odd\" valign=\"top\">\n<td><b>QWS_SIZE<\/b><a name=\"qws-size\"><\/a><\/td>\n<td>Specifies the size of the <a href=\"http:\/\/doc.qt.digia.com\/4.6\/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:<\/p>\n<pre> export QWS_SIZE=&lt;width&gt;x&lt;height&gt;<\/pre>\n<\/td>\n<\/tr>\n<tr class=\"even\" valign=\"top\">\n<td><b>QWS_MOUSE_PROTO<\/b><a name=\"qws-mouse-proto\"><\/a><\/td>\n<td>Specifies the driver for pointer handling. For example, if the current shell is bash, ksh, zsh or sh:<\/p>\n<pre> export QWS_MOUSE_PROTO=&lt;driver&gt;[:&lt;driver specific options&gt;]<\/pre>\n<p>The valid values for the <tt>&lt;driver&gt;<\/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 <a href=\"http:\/\/doc.qt.digia.com\/4.6\/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>\n<p>Multiple keyboard drivers can be specified in one go:<\/p>\n<pre> export QWS_MOUSE_PROTO=\"&lt;driver&gt;[:&lt;driver specific options&gt;]\r\n         &lt;driver&gt;[:&lt;driver specific options&gt;]\r\n         &lt;driver&gt;[:&lt;driver specific options&gt;]\"<\/pre>\n<p>Input will be read from all specified drivers. Note that the <tt>Vr41xx<\/tt> driver also accepts two optional arguments: <tt>press=&lt;value&gt;<\/tt> defining a mouseclick (the default value is 750) and <tt>filter=&lt;value&gt;<\/tt> specifying the length of the filter used to eliminate noise (the default length is 3). For example:<\/p>\n<pre> export QWS_MOUSE_PROTO=\"Vr41xx:press=500:\/dev\/misc\/ts\"<\/pre>\n<p>See also <a href=\"http:\/\/doc.qt.digia.com\/4.6\/qt-embedded-pointer.html\">Qt for Embedded Linux Pointer Handling<\/a>.<\/td>\n<\/tr>\n<tr class=\"odd\" valign=\"top\">\n<td><b>QWS_KEYBOARD<\/b><a name=\"qws-keyboard\"><\/a><\/td>\n<td>Specifies the driver and device for character input. For example, if the current shell is bash, ksh, zsh or sh:<\/p>\n<pre> export QWS_KEYBOARD=&lt;driver&gt;[:&lt;driver specific options&gt;]<\/pre>\n<p>The valid values for the <tt>&lt;driver&gt;<\/tt> argument are <tt>SL5000<\/tt>, <tt>Yopy<\/tt>, <tt>VR41xx<\/tt>, <tt>TTY<\/tt>, <tt>USB<\/tt> and <a href=\"http:\/\/doc.qt.digia.com\/4.6\/qkbddriverplugin.html#keys\">keys<\/a> identifying custom drivers, and the driver specific options are typically a device, e.g., <tt>\/dev\/tty0<\/tt>.<\/p>\n<p>Multiple keyboard drivers can be specified in one go:<\/p>\n<pre> export QWS_KEYBOARD=\"&lt;driver&gt;[:&lt;driver specific options&gt;]\r\n         &lt;driver&gt;[:&lt;driver specific options&gt;]\r\n         &lt;driver&gt;[:&lt;driver specific options&gt;]\"<\/pre>\n<p>Input will be read from all specified drivers.<\/p>\n<p>See also <a href=\"http:\/\/doc.qt.digia.com\/4.6\/qt-embedded-charinput.html\">Qt for Embedded Linux Character Input<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>These environment variables are relevant to Qt for Embe [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[152],"class_list":["post-327","post","type-post","status-publish","format-standard","hentry","category-Technical_literature","tag-qt"],"views":1514,"_links":{"self":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/posts\/327","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/comments?post=327"}],"version-history":[{"count":0,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/posts\/327\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/media?parent=327"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/categories?post=327"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.datarelab.com\/blog\/wp-json\/wp\/v2\/tags?post=327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}