On Windows 10 if a widget has palette set with QPalette::Base color changed, that color is ignored if the Widget is added to a graphics view's scene by addWidget().
On Windows 7 this works as expected. Also if we don't use the QGraphicsView, the palette color works as it should.
Steps to reproduce:
- Run attached sample
- Observe the QTextEdit background color
- EXPECTED: Background color is green
- ACTUAL: Background color is white - any color is ignored