Use QVariant::userType() instead of type() in Qt 4
apply QGraphicsScene::NoIndex
It is ideal for dynamic scenes, where many items are added, moved or removed continuously. --QtDoc
After all, BspTreeIndex now crashes occasionally. Just try =。=