You'll always get two key press events, because at the time when '~' is pressed there is no way telling if something else is going to be pressed as well, so the event has to be triggered. As for the composed character, it should be available in QKeyEvent::text() during the second key event.
Bookmarks