Phonon's VideoWidget show wrong colors on a QGLWidget (Qt, Python) Phonon's VideoWidget show wrong colors on a QGLWidget (Qt, Python) python python

Phonon's VideoWidget show wrong colors on a QGLWidget (Qt, Python)


As pointed out by alexisdm in a comment this is a known bug of Qt.

It can be found as #GTBUG-8738 where someone even added a workaround.


Some OS, frameworks, file formats, etc. store color as RGB, some as BGR (the latter is more common in Windows). So Red/Blue swapping is common if you pass colors from one of these to the other. Look at your color structures closely to make sure you are using the right ones for the technologies you are using.