QT编译出错in Q_INTERFACES. qobject_cast to QGraphicsItem will not work!

NoSuchKey