Added input query for qt5 keyboard query events.