It looks to me that this is not just an OSX bug.
Under windows this code does not seem to work either:
- build and run application
- drag a file from explorer into the application window
- while dragging hold down a keyboard modifier (alt, shift or control).
- qDebug() output does not show the modifier pressed