summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorElias Hautala <elias.hautala@qt.io>2023-08-14 09:04:04 +0300
committerElias Hautala <elias.hautala@qt.io>2023-08-17 11:09:44 +0300
commitc7d9d505aae33846e33a4b40edd8a05e64f5a136 (patch)
tree7ceec574a8ec34ad9f49104fce22adb73c21a2a8 /examples
parentfba4c8ea3f11cf5e583ce11ce73265c35bfd45a3 (diff)
Exclude some examples from Android build
Excludes x509 and waterpump example from Android build because of missing Qui and Quick dependencies. Task-number: QTBUG-111933 Pick-to: 6.5 6.6 Change-Id: Idb18ad1e8602393b8f25797b229c1c08d0eaec07 Reviewed-by: Jannis Völker <jannis.voelker@basyskom.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/opcua/CMakeLists.txt2
-rw-r--r--examples/opcua/waterpump/CMakeLists.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/examples/opcua/CMakeLists.txt b/examples/opcua/CMakeLists.txt
index b60d8bc..86e9a9b 100644
--- a/examples/opcua/CMakeLists.txt
+++ b/examples/opcua/CMakeLists.txt
@@ -4,7 +4,7 @@
if(TARGET Qt6::Widgets)
qt_internal_add_example(opcuaviewer)
endif()
-if(QT_FEATURE_gds AND QT_FEATURE_ssl AND NOT APPLE AND NOT WINRT)
+if(QT_FEATURE_gds AND QT_FEATURE_ssl AND NOT APPLE AND NOT WINRT AND NOT ANDROID)
qt_internal_add_example(x509)
endif()
if(QT_FEATURE_open62541 AND TARGET Qt6::Quick)
diff --git a/examples/opcua/waterpump/CMakeLists.txt b/examples/opcua/waterpump/CMakeLists.txt
index 579ac85..218d5bd 100644
--- a/examples/opcua/waterpump/CMakeLists.txt
+++ b/examples/opcua/waterpump/CMakeLists.txt
@@ -1,6 +1,8 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
+if(NOT ANDROID)
qt_internal_add_example(simulationserver)
qt_internal_add_example(waterpump-qmlcpp)
qt_internal_add_example(waterpump-qml)
+endif()