I confirm that this code works on SuSE 10...try the following link

http://www.qtcentre.org/forum/showthread.php?t=2041

it's the same doubt that you posted!!!

This is in my code and it works

grpbox_right->setPalette(QPalette(Qt::darkBlue));

Nupul