summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2022-06-07 14:08:37 +0200
committerEike Ziller <eike.ziller@qt.io>2022-06-07 13:36:25 +0000
commit4ded73583d1ba2f74f47a4fc4b203f659bee251b (patch)
tree1e9771c14f4e85f08cf7b04ea7601b49c526eef0 /tests
parentec63e694d8cea44c651a570f08380669eb1c2ee4 (diff)
downloadqt-creator-4ded73583d1ba2f74f47a4fc4b203f659bee251b.tar.gz
DeviceShell: Fix compile issues
- fix warning deviceshell.cpp:222:59: warning: suggest braces around initialization of subobject - add missing dependency to app_version to tests Change-Id: I6d61f26cbc6f51b28175257ab7d0f4d2b491fecb Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/utils/deviceshell/CMakeLists.txt2
-rw-r--r--tests/manual/deviceshell/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/utils/deviceshell/CMakeLists.txt b/tests/auto/utils/deviceshell/CMakeLists.txt
index 61492bef32..e9b52c4ad8 100644
--- a/tests/auto/utils/deviceshell/CMakeLists.txt
+++ b/tests/auto/utils/deviceshell/CMakeLists.txt
@@ -3,6 +3,6 @@ file(RELATIVE_PATH TEST_RELATIVE_LIBEXEC_PATH "/${RELATIVE_TEST_PATH}" "/${IDE_L
add_qtc_test(tst_utils_deviceshell
DEFINES "TEST_RELATIVE_LIBEXEC_PATH=\"${TEST_RELATIVE_LIBEXEC_PATH}\""
- DEPENDS Utils
+ DEPENDS Utils app_version
SOURCES tst_deviceshell.cpp
)
diff --git a/tests/manual/deviceshell/CMakeLists.txt b/tests/manual/deviceshell/CMakeLists.txt
index 3961622348..26671f7e4f 100644
--- a/tests/manual/deviceshell/CMakeLists.txt
+++ b/tests/manual/deviceshell/CMakeLists.txt
@@ -4,7 +4,7 @@ file(RELATIVE_PATH TEST_RELATIVE_LIBEXEC_PATH "/${RELATIVE_TEST_PATH}" "/${IDE_L
add_qtc_test(tst_manual_deviceshell
MANUALTEST
DEFINES "TEST_RELATIVE_LIBEXEC_PATH=\"${TEST_RELATIVE_LIBEXEC_PATH}\""
- DEPENDS Utils
+ DEPENDS Utils app_version
SOURCES
tst_deviceshell.cpp
)