It's not possible to do it directly. Qt only handles the "internals" of the window and can give hints to the underlying window manager, but it can't influence its colours.