summaryrefslogtreecommitdiffstats
path: root/examples/opengl
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2012-12-21 14:14:40 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-31 15:51:14 +0100
commit6c9e2219aca80e4fd426c9364eb93a880e9052ca (patch)
tree68f9a8513a5b6ba95934b74013f1a27c4f7f35de /examples/opengl
parentb644ed510af512c5688f139317249eea869e2853 (diff)
push feature conditionals down to subdirectories
the top-level project is not installed, and the meta-project which is used instead does not know anything about conditionals. Task-number: QTBUG-28414 Change-Id: Id5785ab5f92373ece74699e3c28220fc7f9689ac Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'examples/opengl')
-rw-r--r--examples/opengl/opengl.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/opengl/opengl.pro b/examples/opengl/opengl.pro
index 25c337fdad..54b0321b26 100644
--- a/examples/opengl/opengl.pro
+++ b/examples/opengl/opengl.pro
@@ -1,3 +1,5 @@
+requires(qtHaveModule(opengl))
+
TEMPLATE = subdirs
contains(QT_CONFIG, opengles1)|contains(QT_CONFIG, opengles2){