QGraphicsView view(&scene); view.show(); return app.exec(); } ... 如果要使用OpenGL,你可以使用 QGraphicsView::setViewport() 函数来添加 QGLWidget 。
確定! 回上一頁