summaryrefslogtreecommitdiffstats
path: root/meta-agl-drm-lease/dynamic-layers/meta-qt6/README.md
blob: 329ee834f25332c865cfb87fe0cc6e1cb029cf5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# DRM lease support for Qt 6.x

The meta-agl-drm-lease/dynamic-layers/meta-qt6 is a DRM lease support for Qt 6.x eglfs kms backend.

This patch tested in Qt6.7.

## Usage

Qt application shall configured to use eglfs/kms backend.

In addition, there are two environment variable shall be configured.

### QT_QPA_EGLFS_DRMLEASE

When this variable is set, drm-lease-manager client support is enable.  
Shall set drm lease device such as  `card0-LVDS-1`, `card0-HDMI-A-1 ` and etc.  

#### Example

```
  $ export QT_QPA_EGLFS_DRMLEASE=card0-HDMI-A-1
```

### DLM_RUNTIME_PATH

DLM_RUNTIME_PATH is required from libdlmclient.  This environment variable shall be set.

#### Example

```
  $ export DLM_RUNTIME_PATH=/var/display/drm-lease-manager
```