Try setting Qt::WA_KeyCompression flag for widget that receives those key events.