diff options
author | Oswald Buddenhagen <[email protected]> | 2012-12-21 10:55:27 +0100 |
---|---|---|
committer | The Qt Project <[email protected]> | 2013-01-10 09:17:58 +0100 |
commit | 63b6e19704db059c9aece410ef8f36596f6b5580 (patch) | |
tree | 940330929b9a75804a7dcb741a66ba50431418e1 /tests/benchmarks/qml | |
parent | 568c4ee72eca083bfa8c52058ab6253cd4a75eae (diff) |
make use of qtHaveModule()
Change-Id: I23f11c944fafb5863a960dcc83bc1e57e189f662
Reviewed-by: Sergio Ahumada <[email protected]>
Reviewed-by: Tasuku Suzuki <[email protected]>
Reviewed-by: Joerg Bornemann <[email protected]>
Diffstat (limited to 'tests/benchmarks/qml')
-rw-r--r-- | tests/benchmarks/qml/painting/painting.pro | 2 | ||||
-rw-r--r-- | tests/benchmarks/qml/qml.pro | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/benchmarks/qml/painting/painting.pro b/tests/benchmarks/qml/painting/painting.pro index 3f05185cbe..bde891e12d 100644 --- a/tests/benchmarks/qml/painting/painting.pro +++ b/tests/benchmarks/qml/painting/painting.pro @@ -1,4 +1,4 @@ -requires(contains(QT_CONFIG,opengl)) +requires(qtHaveModule(opengl)) QT += opengl CONFIG += console diff --git a/tests/benchmarks/qml/qml.pro b/tests/benchmarks/qml/qml.pro index 3fbf130969..c50f57b655 100644 --- a/tests/benchmarks/qml/qml.pro +++ b/tests/benchmarks/qml/qml.pro @@ -14,6 +14,6 @@ SUBDIRS += \ js \ qquickwindow -contains(QT_CONFIG, opengl): SUBDIRS += painting +qtHaveModule(opengl): SUBDIRS += painting include(../trusted-benchmarks.pri) |