How to enable USB mouse & keyboard in Qt applications - foss-for-synopsys-dwc-arc-processors/linux GitHub Wiki
First enable CONFIG_INPUT_EVDEV=y
in Linux kernel configuration so /dev/input/eventX
devices are created.
Then on target do:
Qt4
export QWS_MOUSE_PROTO=USB:/dev/input/event0
export QWS_KEYBOARD=usb:/dev/input/event0
Qt5
./myapp -platform linuxfb -plugin evdevkeyboard -plugin evdevmouse -plugin evdevtouch