Hi guys!

I want to programm a little game in worms style. Now I need to check collisions between my Characters and my foreground picture(map).
What i don't know is how to implement collision detection with the map(is also a QGraphicsItem) as no rectangle.
I wanted to do this by writing a new QGraphicsItem::shape() function. But for this i need to do a QPainterPath from my map and I think theres no function to do a QPainterPath of a QPixmap?