[Interest] Running Qt application on Linux without screen

Tomasz Olszak olszak.tomasz at gmail.com
Mon Jun 18 13:26:30 CEST 2018


Hello,

Has anyone of you needed to handle following use case?


1. Linux
2. Full screen GUI app -  fast as much as possible so no X, considered
eglfs over drm and wayland
3. It starts as a service without screen
4. Screen can be connected at any time - app should be visible on screen

3 seems currently impossible with Qt 5.10 (is there a point updating it to
5.11).

What I tried so far:
1. Eglfs app works ok with screen connected
2. Eglfs crashes when no screen connected in egl qpa
3. Eglfs work ok when I add in eglfs configuration file (
QT_QPA_EGLFS_KMS_CONFIG) certain modeline string as mode. However when
screen is connected there is no QGuiApplication::screenAdded signal so I
can't show application on different screen.
4. on Qt Wayland app exits with "Running on a compositor with no screens is
not supported". It comes from QWaylandIntegration::initialize() and
compositor is weston

Any ideas how to approach such case?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180618/7ca13e50/attachment.html>


More information about the Interest mailing list