diff options
Diffstat (limited to 'tests/benchmarks')
-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) |