Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.6.0
-
64bit Arch Linux, Qt 5.6.0
Description
A simple application like this:
#include <QGuiApplication> int main(int argc, char** argv) { QGuiApplication app(argc, argv); return app.exec(); }
causes crash when there is no display available:
$ DISPLAY="" ./gui_app
QXcbConnection: Could not connect to display
Aborted (core dumped)
$
Instead of unsetting DISPLAY one can run application from Xorg-less environment.
Any KDE application crashes in similar scenario.
Attachments
Issue Links
- is duplicated by
-
QTBUG-116387 Minor yet unexpected bugs
- Closed