summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2020-11-14 21:37:35 +0200
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2020-11-16 11:35:33 +0000
commit4f0ee5fb375088b902ead875985ad7d7e8438bb4 (patch)
treea23533c57f50e41f7a5c858e24b48ccbcc33c7e0 /tests/auto/tools
parentfc80bd201c7ee583254ec90eefcb16f550127cd1 (diff)
Android: exclude host tools tests for android and ios
Task-number: QTBUG-87025 Task-number: QTBUG-88538 Change-Id: Id691c8463e9bf83c4538dce93300fb4fd5a99849 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/tools')
-rw-r--r--tests/auto/tools/CMakeLists.txt14
-rw-r--r--tests/auto/tools/tools.pro3
2 files changed, 11 insertions, 6 deletions
diff --git a/tests/auto/tools/CMakeLists.txt b/tests/auto/tools/CMakeLists.txt
index d6cc753db7..f1a9ced60e 100644
--- a/tests/auto/tools/CMakeLists.txt
+++ b/tests/auto/tools/CMakeLists.txt
@@ -1,10 +1,14 @@
# Generated from tools.pro.
-add_subdirectory(qmakelib)
-add_subdirectory(qmake)
-add_subdirectory(moc)
-add_subdirectory(rcc)
-if(TARGET Qt::Widgets)
+# QTBUG-88538 # special case
+if(NOT ANDROID AND NOT IOS)
+ add_subdirectory(qmakelib)
+ add_subdirectory(qmake)
+ add_subdirectory(moc)
+ add_subdirectory(rcc)
+endif()
+# QTBUG-88538 # special case
+if(TARGET Qt::Widgets AND NOT ANDROID AND NOT IOS)
add_subdirectory(uic)
endif()
if(TARGET Qt::DBus)
diff --git a/tests/auto/tools/tools.pro b/tests/auto/tools/tools.pro
index 7e4dc67b09..c73036aa4a 100644
--- a/tests/auto/tools/tools.pro
+++ b/tests/auto/tools/tools.pro
@@ -1,5 +1,6 @@
TEMPLATE=subdirs
-SUBDIRS=\
+# QTBUG-88538
+!android:!ios: SUBDIRS = \
qmakelib \
qmake \
uic \