summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2022-06-10 12:28:49 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2022-06-13 10:09:09 +0000
commit9a411245d3f35c232be0affe4137e7a922101b8f (patch)
tree957effcbcad6f164983ae23e796ed299891666e3 /tests
parenta760d5ad818df2564b76e53f7e49501329c31f7b (diff)
downloadqt-creator-9a411245d3f35c232be0affe4137e7a922101b8f.tar.gz
qbs build: Require Qt 6.2 for QmlDesigner
As in the cmake build. Change-Id: Iedd7032093682e7cf6f423909724201f6c5840d0 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/unittest/unittest.qbs5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/unit/unittest/unittest.qbs b/tests/unit/unittest/unittest.qbs
index 00f3e2a8c6..3828063b78 100644
--- a/tests/unit/unittest/unittest.qbs
+++ b/tests/unit/unittest/unittest.qbs
@@ -6,7 +6,8 @@ Project {
QtcProduct {
name: "Unit test"
- condition: qtc_gtest_gmock.hasRepo || qtc_gtest_gmock.externalLibsPresent
+ condition: (qtc_gtest_gmock.hasRepo || qtc_gtest_gmock.externalLibsPresent)
+ && QmlDesigner.present
type: ["application", "autotest"]
consoleApplication: true
@@ -17,7 +18,7 @@ Project {
Depends { name: "libclang"; required: false }
Depends { name: "clang_defines" }
- Depends { name: "QmlDesigner" }
+ Depends { name: "QmlDesigner"; required: false }
Depends { name: "sqlite_sources" }
Depends { name: "Core" }