Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt does not read the keyboard correctly
Munke last edited by A Former User
I've managed to install Qt on my raspberry pi2 and compiled a few programs. Now i had to test a new program, which includes a QLineEdit for getting inputs from the user. I have no compileerror or anything, but when i press "1", the QLineEdit shows "9", when i press "2" it shows "0", when i press 3 it shows "-", 4 shows "="...... and so on. As far as i can see there is no coherence between keypress and what the QLineEdit shows as my input. I have no idea to why. If i input any number or sentence into a texteditor(gedit), copy it and paste it into the QLineEdit, it shows whatever is in my clipboard...! I simply can't understand what i do wrong, do you have any idea to how i can resolve my issue ?
Hi and welcome to devnet,
Looks like the keyboard layout of your Pi doesn't match the keyboard layout of your desktop computer.
Which are both ?