While it is possible to automatically remove a QGraphicsTextItem from a scene using a timer and Qt's signal-slot mechanism like
QTimer::singleShot(1000, QGraphicsTextItem*, SLOT(deleteLater()));
other graphical objects (QGraphicsItem, QGraphicsEllipseItem) seem to not inherit QObject and as such cause an error when compiling:
error: C2664: 'QTimer::singleShot': Konvertierung des Parameters 2 von 'QGraphicsEllipseItem *' in 'QObject *' nicht m”glich
(conversion / cast of parameter 2 ... not possible)
Since I would like text and some graphics shown together for a limited time, my question is: How I can achieve automatic, timed removal of the above-mentioned 'other' objects?