1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only
3
4#include "qtexttospeech_flite_plugin.h"
5#include "qtexttospeech_flite.h"
6
7QT_BEGIN_NAMESPACE
8
9Q_LOGGING_CATEGORY(lcSpeechTtsFlite, "qt.speech.tts.flite")
10
11QTextToSpeechEngine *QTextToSpeechFlitePlugin::createTextToSpeechEngine(
12 const QVariantMap &parameters, QObject *parent, QString *errorString) const
13{
14 Q_UNUSED(errorString);
15 return new QTextToSpeechEngineFlite(parameters, parent);
16}
17
18QT_END_NAMESPACE
19

source code of qtspeech/src/plugins/tts/flite/qtexttospeech_flite_plugin.cpp