summaryrefslogtreecommitdiffstats
path: root/examples/widgets/graphicsview/chip
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@digia.com>2013-02-19 13:22:53 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-20 10:35:23 +0100
commitc85f6d9f5a844e28047216280182651bfc047754 (patch)
tree2fc129c65c402eb1a2a4a4a290a4fe92b2073e98 /examples/widgets/graphicsview/chip
parente47c2744e6cefa42fc70320e07d534742934f737 (diff)
Fixed qtbase examples build when configured with -no-opengl
Change-Id: Idafdc3264f760d6400ce04bb9da36289b1f96438 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
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>