I am running a keyboard test program on the MacOS with Qt 5.4 on MacOSx 10.10.5, Clang. All it does is print out the modifiers and the keycodes when I type arrow keys.
void Dialog::keyPressEvent(QKeyEvent *ke) { qDebug() << "event: " << ke->modifiers() << ke->key(); } event: QFlags(0x20000000) 16777234 event: QFlags(0x20000000) 16777236 event: QFlags(0x20000000) 16777235 event: QFlags(0x20000000) 16777237 Why is the keypad modifier always selected for regular arrow keypress events on the mac?
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest