Your so right. It didn't work in my case, because I tried to call QGraphicsItemGroup.boundingRect() instead of QGraphicsItem.boundingRect(). But that's easy to solve now.

Thank you very much for your fast help. Learned something about inheritance