summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2024-03-06 14:51:04 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2024-03-06 14:12:46 +0000
commitc8ca904fd69f80f81a414636709b431320774ad4 (patch)
tree02cf45a79d00d1b29c145db58207545c5b2c7918
parent037fcecfaa40645994038f28f5d8ca98b80d6afd (diff)
Fix the QTextToSpeechEngineAndroid plugin target name
Make sure that Qt plugin ends with the 'Plugin' suffix. Without the proper suffix the plugin will be skipped when loading the QtTextToSpeech module. The target name doesn't affect the rest naming. Pick-to: 6.5 6.6 6.7 Fixes: QTBUG-122900 Change-Id: I9e66bd9e33c84d076f4c7eaf392e5ebd56539bfc Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
-rw-r--r--src/plugins/tts/android/src/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/tts/android/src/CMakeLists.txt b/src/plugins/tts/android/src/CMakeLists.txt
index 538a435..7f407ec 100644
--- a/src/plugins/tts/android/src/CMakeLists.txt
+++ b/src/plugins/tts/android/src/CMakeLists.txt
@@ -1,9 +1,10 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
-qt_internal_add_plugin(QTextToSpeechEngineAndroid
+qt_internal_add_plugin(QTextToSpeechEngineAndroidPlugin
OUTPUT_NAME qttexttospeech_android
PLUGIN_TYPE texttospeech
+ CLASS_NAME QTextToSpeechEngineAndroid
SOURCES
qtexttospeech_android.cpp qtexttospeech_android.h
qtexttospeech_android_plugin.cpp qtexttospeech_android_plugin.h
@@ -14,4 +15,4 @@ qt_internal_add_plugin(QTextToSpeechEngineAndroid
Qt::Multimedia
)
-add_dependencies(QTextToSpeechEngineAndroid QtAndroidTextToSpeech)
+add_dependencies(QTextToSpeechEngineAndroidPlugin QtAndroidTextToSpeech)