Unsolved Text To Speech Shows No Engines
-
You should then start your application with the QT_DEBUG_PLUGINS environment variable to 1 to see what is happening with the plugins on the Qt side.
-
@SGaist Will I get information if my plugin is only loaded by TeamSpeak. I've tried QT_DEBUG_PLUGIN but it doesn't seem to work with the way TeamSpeak loads the plugin (unless I'm just missing some step to get the info).
-
It's QT_DEBUG_PLUGINS. Sorry I missed the S.
-
Yeah I've tried that as well after looking up the usage of it. Since I'm not invoking my plugin directly, and TeamSpeak is with it's own handler, I'm not sure if I'm suppose to see anything in my output.
I know the TTS dll is loaded, as previously without it I would get an error in the TeamSpeak console about it, I'm just unsure there are no speech engines when trying to use it.
-
Did you check the structure of the TeamSpeak installation ?
Check for a plugins folder.
If there's one, try copying there the tts plugins folder. -
Ah okay, I see now. I copied the
qtexttospeech_sapi
andqtexttospeech_sapid
DLLs, which I had previously not had, to the same location I have the Qt5TextToSpeech DLL, however it still showing no engines or voices available. -
The plugins shall stay in the same folder structure. It's where Qt will search for then.
-
I've tried it both ways, with them just in the root folder where all my other libs are, and making a plugins folder inside my directory which would match what I think you are asking. I also even tried to put them in the TeamSpeak plugins folder but that didn't work as well.
-
Can you show the folder trees you tried ?
-
First Attempt
Second Attempt
Third attempt
-
The plugin folder name should match the one from your Qt installation. If memory serves well, it should be "tts".
-
Okay I've tried both
tts
in the root folder and inside a plugins folder and it still didn't recognize any engines or voices. -
Then I would go with strace to see what is going on with file access.
Since you are on Windows, maybe DrMemory'sdstrace may help.