Skip to content

Fix compilation with Clang 16

Ingo Klöcker requested to merge work/cherry-pick-aa995b65 into release/24.02

With Clang 16, the enum has a size of two bytes and QAccessible::UserRole is the largest possible value. This means that UserRole + 1 is too large, causing compilation to fail. See QTBUG 117517

(cherry picked from commit aa995b65)

Merge request reports