diff options
author | Elias Hautala <elias.hautala@qt.io> | 2023-06-26 14:33:56 +0300 |
---|---|---|
committer | Elias Hautala <elias.hautala@qt.io> | 2023-08-22 11:27:17 +0300 |
commit | 52d079182c33dd9d26f69519961e00fc2733166b (patch) | |
tree | 4478571ea80741f9848a2de817dab71baa59c9fe /src | |
parent | 3bbe86b8572339231b94921957d6d5e8e501b59a (diff) |
Add cmake and qmake project files to quickspeech example
Adds cmake and qmake project files to the quickspeech example which
allows the example to be built and deployd.
Fixes: QTBUG-113820
Pick-to: 6.5 6.6
Change-Id: Ie52f70ccfbd173c43621a20604fffd46182f9e20
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/tts/qtexttospeech.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/tts/qtexttospeech.cpp b/src/tts/qtexttospeech.cpp index cd1aae2..f8c9031 100644 --- a/src/tts/qtexttospeech.cpp +++ b/src/tts/qtexttospeech.cpp @@ -259,14 +259,14 @@ void QTextToSpeechPrivate::disconnectSynthesizeFunctor() Use \l say() to start reading text to the default audio device, and \l stop(), \l pause(), and \l resume() to control the reading of the text. - \snippet quickspeech/main.qml initialize + \snippet quickspeech/Main.qml initialize \codeline \dots \codeline - \snippet quickspeech/main.qml say0 - \snippet quickspeech/main.qml say1 - \snippet quickspeech/main.qml pause - \snippet quickspeech/main.qml resume + \snippet quickspeech/Main.qml say0 + \snippet quickspeech/Main.qml say1 + \snippet quickspeech/Main.qml pause + \snippet quickspeech/Main.qml resume \dots To synthesize text into PCM data for further processing, use synthesize(). @@ -600,7 +600,7 @@ QStringList QTextToSpeech::availableEngines() \sa QTextToSpeech::State say() stop() pause() - \snippet quickspeech/main.qml stateChanged + \snippet quickspeech/Main.qml stateChanged */ /*! @@ -653,7 +653,7 @@ QTextToSpeech::State QTextToSpeech::state() const \l {QTextToSpeech::Capability::}{WordByWordProgress} capability. The following code highlights the word that is spoken in a TextArea \c input: - \snippet quickspeech/main.qml sayingWord + \snippet quickspeech/Main.qml sayingWord \sa QTextToSpeech::Capability, say() */ @@ -741,8 +741,8 @@ QString QTextToSpeech::errorString() const This function starts sythesizing the speech asynchronously, and reads the text to the default audio output device. - \snippet quickspeech/main.qml say0 - \snippet quickspeech/main.qml say1 + \snippet quickspeech/Main.qml say0 + \snippet quickspeech/Main.qml say1 \note All in-progress readings are stopped before beginning to read the recently synthesized text. |