summaryrefslogtreecommitdiffstats
path: root/examples/effects
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-10-15 03:12:52 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-10-15 03:13:14 (GMT)
commite49d92f620313c0921ece291548a8a9c6a809586 (patch)
treeabf834d4ee749725fb7e4547ee997b045d0bfb8f /examples/effects
parent1a62cb6ba07ef64e5101cbfca85bb539075742d5 (diff)
downloadQt-e49d92f620313c0921ece291548a8a9c6a809586.zip
Qt-e49d92f620313c0921ece291548a8a9c6a809586.tar.gz
Qt-e49d92f620313c0921ece291548a8a9c6a809586.tar.bz2
customshader won't work on OpenGL/ES 1.1 so disable for those platforms
Reviewed-by: trustme
Diffstat (limited to 'examples/effects')
-rw-r--r--examples/effects/effects.pro6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/effects/effects.pro b/examples/effects/effects.pro
index 01fa293..2dec8d5 100644
--- a/examples/effects/effects.pro
+++ b/examples/effects/effects.pro
@@ -5,7 +5,11 @@ SUBDIRS = \
lighting \
fademessage
-contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles2):SUBDIRS += customshader
+!contains(QT_CONFIG, opengles1):!contains(QT_CONFIG, opengles1cl) {
+ contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles2) {
+ SUBDIRS += customshader
+ }
+}
# install
target.path = $$[QT_INSTALL_EXAMPLES]/effects