[Buildroot] [Bug 14206] New: QT5 touch screen rotation does not work since 2021.05

bugzilla at busybox.net bugzilla at busybox.net
Mon Sep 6 13:29:48 UTC 2021


https://bugs.busybox.net/show_bug.cgi?id=14206

            Bug ID: 14206
           Summary: QT5 touch screen rotation does not work since 2021.05
           Product: buildroot
           Version: 2021.05
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: t.ruschival at gmail.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

The `rotate` parameter for the touchscreen orientation does not work using
environment variable QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS in QT5. e.g.
QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/touch:rotate=90 has no effect.
No value for rotation (90,180,270) has any effect.

It used to work up until 2021.02 and stopped working since Buildroot 2021.05.

Looking for the cause I found that since 2021.05 libxkbcommon
(BR2_PACKAGE_LIBXKBCOMMON) and libinput (BR2_PACKAGE_LIBINPUT) are selected. In
turn libevdev (BR2_PACKAGE_LIBEVDEV) is selected.
Libinput and libxkbcommon are selected by
BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM.

As a quick check I removed the line 'source "package/kodi/Config.in"' form
package/Config.in and rebuilt all in this case the touch-input rotation works.

Kodi was never selected on the system.  Would it make sense to only select
libinput and libxkbcommon if BR2_PACKAGE_KODI is actually selected?

I guess this affects all applications using QT5 with a rotated touch screen -
can anyone confirm this issue?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the buildroot mailing list