My current solution is this:

- setAttribute(Qt::WA_NoSystemBackground) on the view,
- override view's paintEvent() and repaint the background manually, but differently for the "main" area and the areas of the scrollbars, if they are visible.