Created attachment 616670 [details]
Screenshot of Qt5 demo "2dpaining" showing the issue
When using a QOpenGL widget on a big endian system, widgets _other_ than the QOpenGL widgets appear in the wrong colours.
This is because the swizzling to convert from QImage::Format_ARGB32 to GL_RGBA needs to be different on big endian (ARGB -> RGBA instead of BGRA -> RGBA).
Created attachment 616672 [details, diff]
Proposed patch to fix the swizzle on big endian
Created attachment 616674 [details]
Screenshot of Qt5 demo "2dpainting" after applying the patch
Is it the same with 5.14.1? If yes please send your patch upstream.
Please don't randomly add arches.
As far as I can tell, the bug still exists in 5.14, 5.15 and 6.
Created an upstreams report and put the link in the URL field.