summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2024-03-06 14:51:04 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-03-06 14:59:03 +0000
commit65542e8e6f581a6c98040a9d98a281955e9e7f26 (patch)
tree5d8a0eb49d816a6e4296211efb82e58258ccf653
parent5f250355c4d2ae112452cce3cbacc5833e523de3 (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.6 6.5 Fixes: QTBUG-122900 Change-Id: I9e66bd9e33c84d076f4c7eaf392e5ebd56539bfc Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit c8ca904fd69f80f81a414636709b431320774ad4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-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)