summaryrefslogtreecommitdiffstats
path: root/examples/opengl/legacy/hellogl/hellogl.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/legacy/hellogl/hellogl.pro')
-rw-r--r--examples/opengl/legacy/hellogl/hellogl.pro6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/opengl/legacy/hellogl/hellogl.pro b/examples/opengl/legacy/hellogl/hellogl.pro
index 01e8ca1f74..bb75b07200 100644
--- a/examples/opengl/legacy/hellogl/hellogl.pro
+++ b/examples/opengl/legacy/hellogl/hellogl.pro
@@ -14,8 +14,4 @@ QT += opengl widgets
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/legacy/hellogl
INSTALLS += target
-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")
-}
+contains(QT_CONFIG, opengles.|angle|dynamicgl):error("This example requires Qt to be configured with -opengl desktop")