I found this article, but what they propose is just a workaround.
Does QPainter offer a possibility to adjust the contrast etc ?