Qt platform plugin with DRM/KMS support. It's a fork of Qt's eglfs plugin with more feature such as:
- Get permission to access devices to unprivileged users using logind.
- Screen configuration.
- Real-time screen recording.
This plugin extends Qt hence you have to rebuild it every time Qt is updated.
Qt >= 5.9.0 with at least the following modules is required:
And the following modules:
Qbs is a new build system that is much easier to use compared to qmake or CMake.
If you want to learn more, please read the Qbs manual, especially the setup guide and how to install artifacts from the installation guide.
From the root of the repository, run:
qbs setup-toolchains --type gcc /usr/bin/g++ gcc
qbs setup-qt /usr/bin/qmake-qt5 qt5
qbs config profiles.qt5.baseProfile gcc
Then, from the root of the repository, run:
qbs -d build -j $(nproc) profile:qt5 # use sudo if necessary
To the qbs
call above you can append additional configuration parameters:
modules.lirideployment.prefix:/path/to/prefix
where most files are installed (default:/usr/local
)modules.lirideployment.dataDir:path/to/lib
where data files are installed (default:/usr/local/share
)modules.lirideployment.libDir:path/to/lib
where libraries are installed (default:/usr/local/lib
)modules.lirideployment.qmlDir:path/to/qml
where QML plugins are installed (default:/usr/local/lib/qml
)modules.lirideployment.pluginsDir:path/to/plugins
where Qt plugins are installed (default:/usr/local/lib/plugins
)modules.lirideployment.qbsModulesDir:path/to/qbs
where Qbs modules are installed (default:/usr/local/share/qbs/modules
)
See lirideployment.qbs for more deployment-related parameters.
The liri QPA plugin supports different graphics hardware through EGL device integration plugins.
The environment variables that can influence the QPA plugin are the same as those of eglfs.
Qt 5.2 introduced logging categories and Liri takes advantage of them to make debugging easier.
Please refer to the Qt documentation to learn how to enable them.
-
Platform:
- liri.qpa.deviceintegration: Device integration
- liri.qpa.input: Input management on device integration plugins
-
EGL Device Integrations:
- liri.qpa.kms: KMS/DRM EGL device integration
- liri.qpa.vthandler: Vt handler
Licensed under the terms of the GNU General Public License version 3.