BalaQT
17th August 2010, 05:20
hi,
We are using Qt embedded 4.6.3 in arm. we are facing key input problem. we tested a sample prg with one QLineEdit. When we press a key ,the input goes to SHELL and GUI. ex : when we press 'A' , the QLineEdit displays 'A' and shell also displays A in the background.
After some point of time , when we press a key, thats not displaying in QLineEdit. when we closed the prg , All the keys pressed are shown in console.
After killing and restarting the prg , we can able to input properly. but after some time , the key input problem comes again. [ie, the input is not coming in QLineEdit,but keypad is working fine, since all the keys pressed are shown in console.]
we are using keypad connected via usb.
env variable: export QWS_KEYBOARD=USB:dev/input/event1
we tried export QWS_KEYBOARD=LinuxInput:dev/input/event1 also
pls provide me some useful tips. i feel that qt compilation or env variable for keyboard causing this problem.
pls guide me
Thnks in adv
Bala
We are using Qt embedded 4.6.3 in arm. we are facing key input problem. we tested a sample prg with one QLineEdit. When we press a key ,the input goes to SHELL and GUI. ex : when we press 'A' , the QLineEdit displays 'A' and shell also displays A in the background.
After some point of time , when we press a key, thats not displaying in QLineEdit. when we closed the prg , All the keys pressed are shown in console.
After killing and restarting the prg , we can able to input properly. but after some time , the key input problem comes again. [ie, the input is not coming in QLineEdit,but keypad is working fine, since all the keys pressed are shown in console.]
we are using keypad connected via usb.
env variable: export QWS_KEYBOARD=USB:dev/input/event1
we tried export QWS_KEYBOARD=LinuxInput:dev/input/event1 also
pls provide me some useful tips. i feel that qt compilation or env variable for keyboard causing this problem.
pls guide me
Thnks in adv
Bala