Quantcast
Channel: Qt DevNet forums: QtonPi
Viewing all articles
Browse latest Browse all 92

Qt5 doesn’t grab keyboard strokes

$
0
0
I already posted this message, but perhaps in the wrong sub forum… 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 to change the focus 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, Raspbian Wheezy, RPi model B. Any idea ?

Viewing all articles
Browse latest Browse all 92

Trending Articles