Qt 5.2 , when Korean characters inputs, qt assert!!
i have installed Qt 5.2 , but i have found key input assert.
Test Situation, In Korean Windows 7, 8, 8.1 ....
In Qt Designer, new mainwindow form, click menubar's 'input here', edit korean text, and Qt designer shutdown
In QLineEdit, ... QtWidgets . I input Korean message assert like below pictures.
i very disappointed this assert.
I've been having same problem.
It doesn't seem to happen with 5.1.1, so it's probably related to recent changes to qwindowskeymapper.
it usually happens when you press space or enter while typing Korean.
This looks like a bad bug. Please report it at http://bugreports.qt-project.org/
Anyway, what happens if you click "Ignore (I)"? There is a chance the program can still run. Asserts don't happen in Release mode.
[quote author="JKSH" date="1387859585"]Hi,
Anyway, what happens if you click "Ignore (I)"? There is a chance the program can still run. Asserts don't happen in Release mode.[/quote]
crashes in release mode.
btw, seems like the original poster already submitted a bug report
Is there any workaround for this problem?
[quote author="pejold" date="1388639874"]Is there any workaround for this problem?[/quote]
One of the ways to avoid assert/crash is to:
Type in additional characters and then use backspace to remove those extra characters.
Assert/crash seems to occur when you input spacebar or enter while IME is composing a Korean character (which is composed of anywhere between 2~5 key inputs)
This workaround is okay for developer himself, but if you're planning to release your software to others you'll need to use Qt 5.1.1 until this issue is resolved.