Environment Variables of QT in Embedded Linux

Source: Internet
Author: User

1.Pointercal_file:Specifies a file that contains data for the calibration pointer device. You can view qwscalibratedmousehandler
And QT for Embedded Linux pointer handling.
2. qt_onscreen_paint: If this option is defined, the application will present its components directly on the screen. The affected area of the screen will not be modified by the screen driver, unless another window requirement (or partial requirement) with higher focus is the same area. Setting this environment variable is equivalent to the QT: wa_paintonscreen attribute of all widgets set in the application. View graphics in Embedded Linux
Rendering file.

3.Qws_sw_cursor: If this environment variable is defined, the software mouse cursor is always used (even when the driver that supports the hardware mouse cursor is used.

4.Qws_display: The specified display type and frame buffer. For example, if the current shell is Bash, KSh, zsh, or sh:

export QWS_DISPLAY=<driver>[:<driver specific options>]...         [:<display num>]

<Driver> the valid values of the parameters are linuxfb, qvfb, VNC, conversion, and custom drivers with multiple keys identifiers. The <display num> parameter is used to differentiate the screens with the same screen driver, enable multiple displays at the same time. For more information, see (running
QT for Embedded Linux applications ).

Driver-specific options are described in the file display management.
5.Qws_size:Set the size of the QT/e window centered in the screen. For example, if the current shell is Bash, KSh, zsh, or sh:

export QWS_SIZE=<width>x

6.Qws_mouse_proto:Specifies the driver used for pointer processing. For example, if the current shell is Bash, KSh, zsh, or sh:

export QWS_MOUSE_PROTO=<driver>[:<driver specific options>]

<Driver> valid parameters include:Mouseman,Intellimouse,Microsoft,
Linuxtp,Linuxinput,Tslib, etc. Driver specific options is usually a device file. For example, the mouse device/dev/mouse and the touch screen device/dev/ts.
Multiple mouse drivers can be specified during a single operation, for example

export QWS_MOUSE_PROTO="<driver>[:<driver specific options>]         <driver>[:<driver specific options>]         <driver>[:<driver specific options>]"

Reads the input from all specified drivers.
For more information, see QT for Embedded Linux pointer handling.
7.Qws_keyboard: Specifies the driver of the device for character input. For example, if the current shell is Bash, KSh, zsh, or sh:

export QWS_KEYBOARD=<driver>[:<driver specific options>]

<Driver> valid parameter: tty,Linuxinput. Driver specific options is usually a device file, such as/dev/tty0. You can specify multiple keyboard drivers during one operation.

export QWS_KEYBOARD="<driver>[:<driver specific options>]         <driver>[:<driver specific options>]         <driver>[:<driver specific options>]"

Drivers of all devices read the input.

For more information, see QT for Embedded Linux character input.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.