Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
4.8.5, 5.2.0
-
None
-
Tested on Windows 7 and Ubuntu 12.04
Description
#include <QtGui> #include <QGLWidget> #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) #include <QtWidgets> #endif int main(int argc, char *argv[]) { QApplication app(argc, argv); QGraphicsView window; window.setScene(new QGraphicsScene()); window.setViewport(new QGLWidget(QGLFormat(QGL::SampleBuffers))); window.setViewportUpdateMode(QGraphicsView::FullViewportUpdate); QWidget *emptyWidget = new QWidget(&window); window.resize(400, 400); window.show(); return app.exec(); }