From 1959b56b331286b4d7d2cc560736992535f06042 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Nilsen?= Date: Fri, 21 Aug 2009 14:37:16 +0200 Subject: Only compile shader effect example when having OpenGL. --- examples/effects/effects.pro | 5 +++-- examples/graphicsview/graphicsview.pro | 1 - 2 files changed, 3 insertions(+), 3 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 diff --git a/examples/graphicsview/graphicsview.pro b/examples/graphicsview/graphicsview.pro index 627f9d4..7238995 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 -- cgit v0.12