summaryrefslogtreecommitdiff
path: root/examples/widgets/graphicsview/chip
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/graphicsview/chip')
-rw-r--r--examples/widgets/graphicsview/chip/view.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/widgets/graphicsview/chip/view.cpp b/examples/widgets/graphicsview/chip/view.cpp
index aa3082d5e8..4b5b608163 100644
--- a/examples/widgets/graphicsview/chip/view.cpp
+++ b/examples/widgets/graphicsview/chip/view.cpp
@@ -47,6 +47,8 @@
#endif
#ifndef QT_NO_OPENGL
#include <QtOpenGL>
+#else
+#include <QtWidgets>
#endif
#include <qmath.h>