is there anyone know how to use Text To Speach?
-
i had put texttospeech behind "QT +=" in ".pro"file ,and include <QTextToSpeech> in ".h "file.
but it still inform me in ".cpp"file that 'QTextToSpeech' file is not found. -
Hi and welcome to devnet,
Which version of Qt are you using ?
On which platform ?
How did you install Qt ? -
I using 'Qt Creator 7.0.1' on Window 11.
Installing it by 'qt-unified-windows-x64-4.4.0-online' which i found on Qt official website.
And i can not even have a result when i search for 'texttospeech' in section help. -
Qt Creator has nothing to do here.
Which version of Qt did you install ?
I am guessing Qt 6 in which case you will have to build this module yourself has it is not yet fully ported to Qt 6.
-
Qt Creator has nothing to do here.
Which version of Qt did you install ?
I am guessing Qt 6 in which case you will have to build this module yourself has it is not yet fully ported to Qt 6.
-
That's what I wrote, you have to compile the module yourself for that version of Qt.