diff options
author | Kai Köhne <kai.koehne@qt.io> | 2023-10-05 09:42:12 +0200 |
---|---|---|
committer | Kai Köhne <kai.koehne@qt.io> | 2023-10-11 12:30:08 +0200 |
commit | b9c23d0d59d455f6660b13e6430eacb0901a9a35 (patch) | |
tree | 2c49ffef31917efadb88b278f0072d8eec214999 /tests/auto | |
parent | 5b5cdfa121955be8b3b2a8d5593ae73dccc190f6 (diff) |
Fix top-level qt5 -no-gui build
Gracefully handle the case where Multimedia is not available.
Also, as we now centrally check for Multimedia availability,
remove the individual checks.
Pick-to: 6.6
Fixes: QTBUG-117824
Change-Id: If40c7f98f1dfa48c91f504dbdf657067044860c3
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qtexttospeech/CMakeLists.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/auto/qtexttospeech/CMakeLists.txt b/tests/auto/qtexttospeech/CMakeLists.txt index 99ee37d..03fdf4f 100644 --- a/tests/auto/qtexttospeech/CMakeLists.txt +++ b/tests/auto/qtexttospeech/CMakeLists.txt @@ -1,11 +1,6 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: BSD-3-Clause -if(NOT TARGET Qt::Multimedia) - message(WARNING "The test case requires Qt::Multimedia to verify the presence of audio devices") - return() -endif() - qt_internal_add_test(tst_qtexttospeech SOURCES tst_qtexttospeech.cpp |