增加 directfb 配置.
Signed-off-by: rick.chan <cy187lion@sina.com>
This commit is contained in:
parent
2744d57238
commit
312b5a5c41
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue