Try setting Qt::WA_KeyCompression flag for widget that receives those key events.
Try setting Qt::WA_KeyCompression flag for widget that receives those key events.
Got it to work. The handling of dead keys is directly linked to the keyboard layout selected. I wrote a small test program and tested it on windows and linux and apparently the settings in the X-Windows system were the problem.
Anyway, if the keyboard layout is correctly set up, Qt doesn't generate a keypressevent for dead keys, but only for the fully composed key. I also tried the compression flag, but it didn't make any difference. It really only depends on the keyboard settings (dead keys are also different from language to language).
Thanks again for the suggestions!
Andreas
sunil.thaha (4th December 2006)
Bookmarks