summaryrefslogtreecommitdiffstats
path: root/tests/auto/threed/qgeometrydata/tst_qgeometrydata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/threed/qgeometrydata/tst_qgeometrydata.cpp')
-rw-r--r--tests/auto/threed/qgeometrydata/tst_qgeometrydata.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/threed/qgeometrydata/tst_qgeometrydata.cpp b/tests/auto/threed/qgeometrydata/tst_qgeometrydata.cpp
index 7dd77956e..0dfac0788 100644
--- a/tests/auto/threed/qgeometrydata/tst_qgeometrydata.cpp
+++ b/tests/auto/threed/qgeometrydata/tst_qgeometrydata.cpp
@@ -46,6 +46,7 @@
#include "qvector_utils_p.h"
#include "qtest_helpers.h"
#include "qglpainter.h"
+#include "qglview.h"
#include <QtCore/qdebug.h>
@@ -618,7 +619,7 @@ void tst_QGeometryData::draw()
data.appendVertex(a, b, c, d);
data.appendNormal(an, bn, cn, dn);
- QGLWidget w;
+ QGLView w;
QGLPainter p(&w);
data.draw(&p, 0, 4);
}