summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-08-21 14:37:16 +0200
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-08-21 14:37:16 +0200
commit1959b56b331286b4d7d2cc560736992535f06042 (patch)
tree09ac92b62a7ebd40ae3105ee8d5d5f6e49749c37 /examples
parentceb4df5262ca41ff9314b36af9a3be19ffe24a76 (diff)
Only compile shader effect example when having OpenGL.
Diffstat (limited to 'examples')
-rw-r--r--examples/effects/effects.pro5
-rw-r--r--examples/graphicsview/graphicsview.pro1
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/effects/effects.pro b/examples/effects/effects.pro
index 4a6c8de18..60b5baff7 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
diff --git a/examples/graphicsview/graphicsview.pro b/examples/graphicsview/graphicsview.pro
index 627f9d45d..723899582 100644
--- a/examples/graphicsview/graphicsview.pro
+++ b/examples/graphicsview/graphicsview.pro
@@ -11,7 +11,6 @@ SUBDIRS = \
contains(QT_CONFIG, qt3support):SUBDIRS += portedcanvas portedasteroids
contains(DEFINES, QT_NO_CURSOR): SUBDIRS -= dragdroprobot
-contains(QT_CONFIG, opengl)|contains(QT_CONFIG, opengles2):SUBDIRS += customshader
# install
target.path = $$[QT_INSTALL_EXAMPLES]/graphicsview