summaryrefslogtreecommitdiffstats
path: root/examples/widgets/graphicsview/boxes/boxes.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/graphicsview/boxes/boxes.pro')
-rw-r--r--examples/widgets/graphicsview/boxes/boxes.pro6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/widgets/graphicsview/boxes/boxes.pro b/examples/widgets/graphicsview/boxes/boxes.pro
index a4b253c580..93621878f1 100644
--- a/examples/widgets/graphicsview/boxes/boxes.pro
+++ b/examples/widgets/graphicsview/boxes/boxes.pro
@@ -1,5 +1,11 @@
QT += opengl widgets
+contains(QT_CONFIG, opengles.) {
+ contains(QT_CONFIG, angle): \
+ warning("Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c")
+ error("This example requires Qt to be configured with -opengl desktop")
+}
+
HEADERS += 3rdparty/fbm.h \
glbuffers.h \
glextensions.h \