summaryrefslogtreecommitdiffstats
path: root/examples/effects
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-08-21 12:37:16 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-08-21 12:37:16 (GMT)
commit1959b56b331286b4d7d2cc560736992535f06042 (patch)
tree09ac92b62a7ebd40ae3105ee8d5d5f6e49749c37 /examples/effects
parentceb4df5262ca41ff9314b36af9a3be19ffe24a76 (diff)
downloadQt-1959b56b331286b4d7d2cc560736992535f06042.zip
Qt-1959b56b331286b4d7d2cc560736992535f06042.tar.gz
Qt-1959b56b331286b4d7d2cc560736992535f06042.tar.bz2
Only compile shader effect example when having OpenGL.
Diffstat (limited to 'examples/effects')
-rw-r--r--examples/effects/effects.pro5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/effects/effects.pro b/examples/effects/effects.pro
index 4a6c8de..60b5baf 100644
--- a/examples/effects/effects.pro
+++ b/examples/effects/effects.pro
@@ -2,8 +2,9 @@ TEMPLATE = \
subdirs
SUBDIRS = \
blurpicker \
- lighting \
- customshader
+ lighting
+
+contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles2):SUBDIRS += customshader
# install
target.path = $$[QT_INSTALL_EXAMPLES]/effects