Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

No key events for linux application without desktop environment



  • I have an application that runs on Ubuntu 12.04 without desktop environment. The application opens some popup dialogs. In these popup dialogs I am not able to grab key events. It seems that these key events are not passed to the dialog but they are also not send to the main window. If I run the same application with a desktop environment everything works as expected.

    Is there a way to pass key events to dialogs when no desktop environment is present?



  • Hi,

    may be exporting QWS_KEYBOARD would help ...


Log in to reply