These environment variables are relevant to Qt for Embedded Linux users.
| 变量 | 描述 |
|---|---|
| POINTERCAL_FILE |
Specifies the file containing the data used to calibrate the pointer device. 另请参阅 QWSCalibratedMouseHandler and Qt for Embedded Linux Pointer Handling . |
| QT_ONSCREEN_PAINT |
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 Qt::WA_PaintOnScreen attribute for all the widgets in the application. See also the Qt for Embedded Linux graphics rendering 文档编制。 |
| QWS_SW_CURSOR | If defined, the software mouse cursor is always used (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=<driver>[:<driver specific options>]... [:<display num>]
The valid values for the
The driver specific options are described in the display management 文档编制。 |
| QWS_SIZE |
Specifies the size of the
Qt for Embedded Linux
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 for pointer handling. For example, if the current shell is bash, ksh, zsh or sh:
export QWS_MOUSE_PROTO=<driver>[:<driver specific options>]
The valid values for the
Multiple mouse drivers can be specified in one go: export QWS_MOUSE_PROTO="<driver>[:<driver specific options>] <driver>[:<driver specific options>] <driver>[:<driver specific options>]" Input will be read from all specified drivers. |
| 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>[:<driver specific options>]
The valid values for the
Multiple keyboard drivers can be specified in one go: export QWS_KEYBOARD="<driver>[:<driver specific options>] <driver>[:<driver specific options>] <driver>[:<driver specific options>]" Input will be read from all specified drivers. |