How about QKeyEvent::nativeScanCode ?