diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-15 03:12:52 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-15 03:13:14 (GMT) |
commit | e49d92f620313c0921ece291548a8a9c6a809586 (patch) | |
tree | abf834d4ee749725fb7e4547ee997b045d0bfb8f | |
parent | 1a62cb6ba07ef64e5101cbfca85bb539075742d5 (diff) | |
download | Qt-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
-rw-r--r-- | examples/effects/effects.pro | 6 |
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 |