[Solved] Strange behavior for dutch keyboard
-
I'm using Qt 5.1.1 and have very strange behavior using a dutch keyboard layout. When I type the 6 for the first time in anywhere in Qt, automatically an ^ is added when I type the next character. So when I type 67, the result is 6^7. And this is only the first time. So, when I type 6767 the result is 6^767.
In my own Qt application I experience the same behavior. Does anyone has an idea how this is caused. Previously I used Qt 4.7 and there I didn't have this problem.
-
Hi and welcome to devnet,
Can you try with 5.2 ?
In between, can you print what keys you get in the keyPressEvent ? To see if there's something unusual added
-
I just tried with a QLineEdit and setting the locale to dutch but I could not reproduce this (5.2 on OS X)
-
You're welcome !
Since you have it working now, can you also update the thread title prepending [solved] ? So other forum users may know a solution has been found :)