Well, if you look at the class declaration of QPixmap you will see that it does not inherit from QGraphicsItem.
But the QGraphicsPixmapItem that you get from QGraphicsScene::addPixmap() does.
Btw, your code snippet also creates an additional QGraphicsScene and then throws loses the pointer to it.
Cheers,
_
Bookmarks