summaryrefslogtreecommitdiffstats
path: root/examples/widgets/painting/shared/hoverpoints.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/painting/shared/hoverpoints.cpp')
-rw-r--r--examples/widgets/painting/shared/hoverpoints.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/widgets/painting/shared/hoverpoints.cpp b/examples/widgets/painting/shared/hoverpoints.cpp
index 2bf3963e9e..f834f315f9 100644
--- a/examples/widgets/painting/shared/hoverpoints.cpp
+++ b/examples/widgets/painting/shared/hoverpoints.cpp
@@ -53,6 +53,10 @@
#include <algorithm>
+#if QT_CONFIG(opengl)
+#include <QtOpenGL/QOpenGLWindow>
+#endif
+
#define printf
HoverPoints::HoverPoints(QWidget *widget, PointShape shape)