Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.2.0, 5.2.1, 5.3.1
-
Custom Embedded Linux distro, TI AM335x CPU which uses BGR format in 24bit configuration
Description
Linux FB plugin currently does not support BGR pixel format.
The Linux FB plugin assumes always that the pixel format is RGB. QLinuxFbScreen class contains checks for BGR configuration but those checks do not actually change the data written to FB.
Attached is a patch which "works for me", I'm not sure it is the correct approach for handling all the cases. I tested it only on a 24bit FB.
Notes:
- I think in Qt4 this feature was implemented and could be enabled by an option called littleendian (or similar)