增加分辨率参数.

Signed-off-by: rick.chan <cy187lion@sina.com>
This commit is contained in:
rick.chan 2023-07-06 18:14:50 +08:00
parent 2e78526cca
commit 2744d57238
1 changed files with 2 additions and 2 deletions

View File

@ -13,13 +13,13 @@ QPA 的全称是 Qt Platform Abstraction即 Qt 平台抽象层。在 Qt5 中
指定 mouse、touch、keyboard需要加载 hid、hid-generic、usbhid 驱动):
```bash
<qt program> -platform linuxfb:fb=/dev/fb0 -plugin evdevmouse:/dev/input/event<X> -plugin evdevtouch:/dev/input/event<Y> -plugin evdevkeyboard:/dev/input/event<Z>
<qt program> -platform linuxfb:fb=/dev/fb0:mmsize=1024x600 -plugin evdevmouse:/dev/input/event<X> -plugin evdevtouch:/dev/input/event<Y> -plugin evdevkeyboard:/dev/input/event<Z>
```
### 常用宏
```bash
# 指定插件安装路径.
# 指定插件安装路径.qp
export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/qt/plugins
# 指定 Platform 参数.
export QT_QPA_PLATFORM=linuxfb:tty=/dev/fb0