Qt 5.1.1 touch precision is not accurate

329 views Asked by At

Issue I am facing with Qt 5.1.1 applications is that, the touch precision on the widgets are not accurate and I need to touch a little bit above the actual widget area to trigger the event (clicked).

In order to make the touch interface work, I am using 1920x1080 resolution and 11 inch display. Software - Qt -5.1.1, Wayland - 1.1.0 and qtwayland plugin.

Any clue where the thing might go wrong? Any suggestion is appreciated.

1

There are 1 answers

1
gzh On

If you use Wayland to render your application, i.e. launch application by -platform wayland option, the coordinates of touch event is provided by compositor(e.g. weston)via wayland protocol, therefore you should check those coordinates grabbed by compositor.

You can use debug tool provided by libinput to find what is wrong.