QT中QGraphicsScene||GraphicsView函数刷新多次内存溢出问题,vs2015 需将QGraphicsScene *scene = new QGraphicsScene;放入上面声明 头文件中声明: cpp文件中声明: 使用: 这样就没有内存溢出了: