⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

Qt5 on Raspberry Pi : Qt doesn't grab keyboard strokes

  • I made a small test app in C++ (no QML). The main widget is a QWidget. It has 1 QLineEdit, 1 QSpinBox and 2 QPushButton. One to quit, the other to show the "About Qt" dialog.

    I can type text and numbers in QLineEdit and QSpinBox as long as I change the focus with the tab key. If I use the mouse or if I show the "About Qt" dialog, the characters I type go to the console instead of my Qt app : I can see them when I quit.

    I run the app with the CLI option : -platform eglfs, kernel v3.6

    Any idea ?

Log in to reply