[Qt-interest] Accent QTextEdit Mac OS X

Frank Mertens frank at cyblogic.de
Tue Feb 9 03:13:22 CET 2010


Vinicius Jarina wrote:
> Hi, when I type a word with accent inside a QTextEdit, using U.S
> International keyboard layout (using QtCreator and Mac OSX 10.6), Qt
> duplicate the char with accent.
> 
> Example:
> 
>  type: m + ´ + e + d + i + c + o
> 
> The result should be: "médico", but when I type the 'd' letter the 'e'
> letter is repeated.
> "méedico."
> 
> How to workaround this issues?
> 
> Regards.
> 
> Vinicius Jarina.
> 
> 

Take a look at http://bugreports.qt.nokia.com/browse/QTBUG-7099.
I could work around the problem by overloading inputEvent() and keyPressEvent()
filtering out the unneeded double key event...
It is said to only affect the Carbon port. Small dive into the
source maybe worth it, can be only a little mistake somewhere.




More information about the Qt-interest-old mailing list