PDA

View Full Version : Qt embedded Keyboard Plugin problem



abar9
18th January 2010, 15:35
Hi,

I have written a custom keypad plugin usine qt embedded. I print the keycodes in the plugin with the use of printf statements.
I wrote a test application to test the plugin.
After the application starts, the keycodes are printed randomly even without me pressing any buttons and after some time i get this message
QMutex: Deadlock detected in thread

Any help on the above please?

Thanks.

abar9
20th January 2010, 05:37
Hi All,

I am using Qt embedded 4.5.2 and I have written a custom Keypad plugin for my device as given in the tutorial.

I am facing a few problems when I load the Plugin. Once I have loaded the plugin,

1. Randomly some key press events are generated and get printed on the console ( this is because i have added printf statements for each switch case for debuggin purpose)

2. When I press a key on the keypad, there is no character shown on the display, rather when I close the application, I could see the keys pressed displayed on the background LCD screen.

3. After a minute or so after the plugin is loaded, I get this error on the console

QMutex : Deadlock detected on thread.

I have written the plguin as per the tutorial and used the existing keypad plugins as reference.

Am I missing something, please help...