From 9d85490ea2171f1fbad1e6a264db835fc0e9a702 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 15 May 2015 09:59:08 +0200 Subject: Fix exclusion for legacy Open GL examples. Add dynamic GL and remove warning about ANGLE since that package no longer exists. Task-number: QTBUG-46103 Change-Id: Icf93d1105434395a3c9ad61bb8c921fcedfc7137 Reviewed-by: Laszlo Agocs --- examples/widgets/graphicsview/boxes/boxes.pro | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'examples/widgets/graphicsview/boxes') diff --git a/examples/widgets/graphicsview/boxes/boxes.pro b/examples/widgets/graphicsview/boxes/boxes.pro index e608b1c845..15d26f02f0 100644 --- a/examples/widgets/graphicsview/boxes/boxes.pro +++ b/examples/widgets/graphicsview/boxes/boxes.pro @@ -1,10 +1,6 @@ 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") -} +contains(QT_CONFIG, opengles.|angle|dynamicgl):error("This example requires Qt to be configured with -opengl desktop") HEADERS += 3rdparty/fbm.h \ glbuffers.h \ -- cgit v1.2.3