added include QGraphicsItem
gcc compatibility