增加 directfb 配置.

Signed-off-by: rick.chan <cy187lion@sina.com>
This commit is contained in:
rick.chan 2023-07-06 19:48:06 +08:00
parent 2744d57238
commit 312b5a5c41
1 changed files with 5 additions and 0 deletions

View File

@ -13,9 +13,14 @@ QPA 的全称是 Qt Platform Abstraction即 Qt 平台抽象层。在 Qt5 中
指定 mouse、touch、keyboard需要加载 hid、hid-generic、usbhid 驱动):
```bash
# 使用 linuxfb
<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>
# 使用 directfb
<qt program> -platform directfb
```
使用 directfb 不需要指定 fbdev、input 等,这些信息在 /etc/directfbrc 中指定,具体查看 directfbrc 的 man 手册。
### 常用宏
```bash