summaryrefslogtreecommitdiffstats
path: root/examples/widgets
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2013-04-03 15:43:39 +0200
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2013-04-03 15:43:39 +0200
commita4121a21c010d8b9d3a80d9c4cfe5e5c72f5f0fa (patch)
treec2618ca887eb02f5069c5577440881e6aa1150f6 /examples/widgets
parent448c3e85dddbfc5c101aceeeceb8584a3d41c913 (diff)
parente777e3f1ecc72d0958386ac6975c45c8d36081f1 (diff)
Merge remote-tracking branch 'origin/release' into stable
Diffstat (limited to 'examples/widgets')
-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 \