summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2010-05-14 12:32:46 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2010-05-14 12:38:52 (GMT)
commit0f13a088538f42faa3634c6541d9cf461764ab25 (patch)
treec670df6fa0ab7d6ec8c2c40e141262c6bc223a86 /tests
parent61e66e8ce4a7c1412939efb47663078a2184ffb2 (diff)
downloadQt-0f13a088538f42faa3634c6541d9cf461764ab25.zip
Qt-0f13a088538f42faa3634c6541d9cf461764ab25.tar.gz
Qt-0f13a088538f42faa3634c6541d9cf461764ab25.tar.bz2
Omit building declarative/painting benchmark if no OpenGL configured
Task-number: QTBUG-10665 Reviewed-by: Janne Anttila
Diffstat (limited to 'tests')
-rw-r--r--tests/benchmarks/declarative/declarative.pro5
-rw-r--r--tests/benchmarks/declarative/painting/painting.pro2
2 files changed, 6 insertions, 1 deletions
diff --git a/tests/benchmarks/declarative/declarative.pro b/tests/benchmarks/declarative/declarative.pro
index a7d426c..54b2a45 100644
--- a/tests/benchmarks/declarative/declarative.pro
+++ b/tests/benchmarks/declarative/declarative.pro
@@ -2,10 +2,13 @@ TEMPLATE = subdirs
SUBDIRS += \
binding \
creation \
- painting \
pointers \
qdeclarativecomponent \
qdeclarativeimage \
qdeclarativemetaproperty \
script \
qmltime
+
+contains(QT_CONFIG, opengl): SUBDIRS += painting
+
+
diff --git a/tests/benchmarks/declarative/painting/painting.pro b/tests/benchmarks/declarative/painting/painting.pro
index a228ea7..69c0006 100644
--- a/tests/benchmarks/declarative/painting/painting.pro
+++ b/tests/benchmarks/declarative/painting/painting.pro
@@ -2,6 +2,8 @@
# Automatically generated by qmake (2.01a) fr 29. jan 13:57:52 2010
######################################################################
+requires(contains(QT_CONFIG,opengl))
+
TEMPLATE = app
TARGET =
DEPENDPATH += .