diff options
-rw-r--r-- | tests/benchmarker/benchmarker.qbs | 6 | ||||
-rw-r--r-- | tests/tests.pro | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/tests/benchmarker/benchmarker.qbs b/tests/benchmarker/benchmarker.qbs index 8dec56d60..7fd3b48b5 100644 --- a/tests/benchmarker/benchmarker.qbs +++ b/tests/benchmarker/benchmarker.qbs @@ -6,7 +6,11 @@ QtApplication { type: "application" consoleApplication: true cpp.cxxLanguageVersion: "c++11" - Depends { name: "Qt.concurrent" } + condition: Qt.concurrent.present + Depends { + name: "Qt.concurrent" + required: false + } files: [ "activities.h", "benchmarker-main.cpp", diff --git a/tests/tests.pro b/tests/tests.pro index 2ababcb8c..e454771e4 100644 --- a/tests/tests.pro +++ b/tests/tests.pro @@ -1,2 +1,4 @@ TEMPLATE = subdirs -SUBDIRS = auto fuzzy-test benchmarker +SUBDIRS = auto fuzzy-test + +qtHaveModule(concurrent): SUBDIRS += benchmarker |