I've found out the reason. The event handling for key and mouse event were buggy before Qt 4.4 so I had to reimplement QGraphicsScene::event() to handle events. In earlier versions it seemed that keyPressEvent went to /dev/null. After removing this reimplementation everything work fine again.
-R