aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/scenegraph.pro
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@qt.io>2016-04-25 12:09:08 +0200
committerAndy Nichols <andy.nichols@qt.io>2016-05-06 19:17:20 +0000
commit53c5398529f852903fb6774210573a25f5ea144a (patch)
tree211365b42b91087ba6e8dee80d532fb01ac03889 /examples/quick/scenegraph/scenegraph.pro
parent3fdaa13f7f0a4f0eeff2e7450df2df0df824b72a (diff)
Fix building with QT_NO_OPENGL defined
Change-Id: Ice6c47f766899e7313b9dde8cfcd6d81eeaf52f5 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'examples/quick/scenegraph/scenegraph.pro')
-rw-r--r--examples/quick/scenegraph/scenegraph.pro19
1 files changed, 12 insertions, 7 deletions
diff --git a/examples/quick/scenegraph/scenegraph.pro b/examples/quick/scenegraph/scenegraph.pro
index 1e7e74372d..0162aae45d 100644
--- a/examples/quick/scenegraph/scenegraph.pro
+++ b/examples/quick/scenegraph/scenegraph.pro
@@ -1,10 +1,15 @@
TEMPLATE = subdirs
+
+contains(QT_CONFIG, opengl(es1|es2)?) {
+ SUBDIRS += \
+ simplematerial \
+ sgengine \
+ textureinsgnode \
+ openglunderqml \
+ textureinthread \
+ twotextureproviders
+}
+
SUBDIRS += \
customgeometry \
- openglunderqml \
- sgengine \
- simplematerial \
- textureinsgnode \
- textureinthread \
- threadedanimation \
- twotextureproviders
+ threadedanimation