I know this is an old thread but i have the same problem

i have written this:
Qt Code:
  1. QPalette palette = playlistTable.palette();
  2. QPixmap a = new QPixmap("/home/chris/playlist_background.png");
  3. QBrush brush = new QBrush(a);
  4. palette.setBrush(QPalette.ColorRole.Base, brush);
  5. playlistTable.setPalette(palette);
To copy to clipboard, switch view to plain text mode 

and it doesn't work

PS: using QtJambi