aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2021-05-12 16:35:16 +0200
committerIvan Komissarov <ABBAPOH@gmail.com>2021-05-18 08:37:37 +0000
commit287311ed774a86ef9ce053dd42e947cd28b48495 (patch)
treeb3fe3f16a83920df60d275411251e22de590bd57 /tests
parentb1ccd9ab328cc7f7e34ab653ec93f389b9945e19 (diff)
cmake: Add Qt6 build
Also, switch Linux CMake job to build Qbs with Qt6 Change-Id: I188845a7cc086a8c87dbb7445ea95f99b26d94ef Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/benchmarker/CMakeLists.txt2
-rw-r--r--tests/fuzzy-test/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/benchmarker/CMakeLists.txt b/tests/benchmarker/CMakeLists.txt
index d77d6d9c4..12a6b3076 100644
--- a/tests/benchmarker/CMakeLists.txt
+++ b/tests/benchmarker/CMakeLists.txt
@@ -13,6 +13,6 @@ set(SOURCES
)
add_qbs_app(qbs_benchmarker
- DEPENDS Qt5::Core Qt5::Concurrent
+ DEPENDS Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Concurrent
SOURCES ${SOURCES}
)
diff --git a/tests/fuzzy-test/CMakeLists.txt b/tests/fuzzy-test/CMakeLists.txt
index fe3a1a54e..43101f68b 100644
--- a/tests/fuzzy-test/CMakeLists.txt
+++ b/tests/fuzzy-test/CMakeLists.txt
@@ -7,6 +7,6 @@ set(SOURCES
)
add_qbs_app(qbs_fuzzy-test
- DEPENDS Qt5::Core
+ DEPENDS Qt${QT_VERSION_MAJOR}::Core
SOURCES ${SOURCES}
)