Could be that the style on the RPi is using a different color role or you need to setAutoFillBackground(true) on the button.

Cheers,
_