Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Weird behaviour of QLineEdit
Sidii last edited by Sidii
Whenever i click on the QLineEdit, it gets focus. This is correct behaviour. But apart from this it also receives KeyPress Events around 6-7 times.
Please let em know how this can be avoided and how to check who is generating Key Press events when there is no key pressed. This behaviour is observed every time i click on the QLine Edit and try to move the cursor position (Touch screen, so no keyboard keys are pressed)
This is observed only in embedded system. Same code works fine in Windows and Fedora.
Inside the keyPressEvent if i try to print the key code then it shows code as: 1073152 multiple times.
Also please let me know what this code corresponds to if anybody has any idea?