Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. No key events for linux application without desktop environment
Qt 6.11 is out! See what's new in the release blog

No key events for linux application without desktop environment

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 583 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sordo
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • N Offline
      N Offline
      NicuPopescu
      wrote on last edited by
      #2

      Hi,

      may be exporting QWS_KEYBOARD would help ...

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved