realXtend/naali — Issue #250: Crash on key presses in QtScript if non-latin keyboard layout is used
Author: cvetan5
Created: 2011-10-14 13:24:13+00:00
State: open
Labels: QtScript, Tundra 2

Steps to reproduce the crash:

1. Add a non-latin keyboard layout in your keyboard settings in Windows / Mac
2. Make a script which adds an entity and an EC_InputMapper, take its' input context and connect it to a KeyPressed signal
3. In the corresponding slot, put a simple check i.e.
`if (keyEvent.keyCode == Qt.Key_Q) print("Key Q pressed");`
4. Run the script, change the layout and press any key. Tundra will crash.