Skip to content

How to enable USB mouse & keyboard in Qt applications

Alexey Brodkin edited this page Jun 13, 2015 · 2 revisions

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
Clone this wiki locally