View Full Version : Detectin help keypress on Mac laptop with spanish keyboard

31st March 2011, 19:50
On a mac laptop, spanish keyboard layout, the ? character requires pressing Shift. So in order to activate the help with the keyboard one must press cmd+shift+?. I am having problems to detect that key combination, the QKeyEvent::key() returns Qt::Key_Apostrophe (the character corresponding to that key without shift modifier)


QKeyEvent *e;

Doesn't work either (does not detect the keypress)

What would be the correct way to intercept a platform indepentent help request with the keyboard? or at least on Mac to intercept cmd+? on such keyboard layouts?