2009-11-17 18:12:21 bgr instead of rgb in Qt
Bryan DE FARIA (UNITED STATES)
Message: 82464
Hi,
My framebuffer switch blue and red colors in Qt. I can't find the way to display the good colors in modifying my framebuffer driver (bf537-wintek.c). I also try to modify the Qscreenlinuxfb class in Qt sources, but all what I tried was unsuccessful.
Have you an idea how can I solve that?
bf537-wintek.c
QuoteReplyEditDelete
2009-11-18 09:24:26 Re: bgr instead of rgb in Qt
Robin Getz (UNITED STATES)
Message: 82502
Bryan:
The simple answer is swap the hardware.
Or does it work with any graphics package?
-Robin
QuoteReplyEditDelete
2009-11-18 09:45:32 Re: bgr instead of rgb in Qt
Bryan DE FARIA (UNITED STATES)
Message: 82503
All what I tried was inverted except the Qt embedded libraries 4.4.3.
I really would like to find a way without changing the hardware.
QuoteReplyEditDelete
2009-12-13 04:51:34 Re: bgr instead of rgb in Qt
Stefan Pledl (GERMANY)
Message: 83461
Bryan:
i had a similar problem with Qt (4.5.3) and patching some functions in
/src/gui/painting/qdrawhelper_p.h (see attached file)
solves my problem.
Stefan
qt-4.5.2-qrgb888.patch