diff options
author | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2021-08-23 10:32:17 +0300 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-08-23 12:58:36 +0000 |
commit | bb361bd456aaf03bac2103c132ccec5d791e8eac (patch) | |
tree | d50e703702e2b329b91c99e92261432e9cae5468 /examples | |
parent | 2d12a2fe9b4e27a1a2fb5aa8554489fc25884b31 (diff) |
Don't run devices example on mobile platforms
devices example is a command line example and doesn't run properly on
Android and iOS.
Change-Id: Iabe1185d5481b6fdfb1c47f9b71fe921d99eea23
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 7038c860dbb3c329c567e5dc0a87d4063700d549)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/multimedia/devices/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/multimedia/devices/CMakeLists.txt b/examples/multimedia/devices/CMakeLists.txt index d75b4f23f..2727c1a75 100644 --- a/examples/multimedia/devices/CMakeLists.txt +++ b/examples/multimedia/devices/CMakeLists.txt @@ -9,6 +9,11 @@ set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) +if(ANDROID OR IOS) + message(WARNING "This is a commandline tool that is not supported on mobile platforms") + return() +endif() + if(NOT DEFINED INSTALL_EXAMPLESDIR) set(INSTALL_EXAMPLESDIR "examples") endif() |