<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 26, 2021 at 8:09 AM Gustav Degreef <<a href="mailto:gustav97@gmail.com">gustav97@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Jeremy,<br>
<br>
Deeply appreciate your time and effort, but no luck.<br>
<br>
  user:~/QtSpeech/hello_speak> qmake-qt5<br>
Info: creating stash file /home/user/QtSpeech/hello_speak/.qmake.stash<br>
Project ERROR: Unknown module(s) in QT: texttospeech<br></blockquote><div><br></div><div style="font-family:monospace" class="gmail_default">Ok, from that it seems you don't have the -devel package needed to build things against QtSpeech. For that install the following:</div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">sudo zypper install libqt5-qtspeech-devel</div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">Then you should be able to build hello_speak.</div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">But since speech-dispatcher itself doesn't have the problem (spd-say didn't duplicate) the problem is either in Okular's use of QtSpeech (not likely, it's one line that calls QtSpeech) or QtSpeech itself. On my test vm I've only got the speechd plugin for QtSpeech in <br></div><div style="font-family:monospace" class="gmail_default">/usr/lib64/qt5/plugins/texttospeech/</div><div style="font-family:monospace" class="gmail_default">On your machine do you have a flite plugin there also from some package from 15.0 or 15.1 times maybe (I don't see any flite plugin package in 15.2 repos, but maybe you got it before upgrading).</div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">I took another look at QtSpeech code itself though and I don't see any way it would ever use more than one plugin or send the text to multiple plugins. Then I took a look at the speechd plugin again and it definitely only sends the text it gets to spd_say function once. I think the next thing to try will be to enable debugging in speech-dispatcher (after we are sure that's what plugin QtSpeech is using) and see what text it's getting to synthesize from okular. I'll write up some instructions for that once I do it here and remember how it's done :)</div><div style="font-family:monospace" class="gmail_default"><br></div><div style="font-family:monospace" class="gmail_default">thanks,</div><div style="font-family:monospace" class="gmail_default">Jeremy</div><div style="font-family:monospace" class="gmail_default"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
user:~/QtSpeech/hello_speak> make<br>
make: *** No targets specified and no makefile found.  Stop.<br>
<br>
Since your opensuse VM is working fine, I doube checked my <br>
installations.  I have a 17 inch laptop and a 13 inch old one that I use <br>
for traveling.  Both machines have a main partition opensuse 15.2 and a <br>
"test" partition with opensuse 15.3.  3/4 of these installations have <br>
the duplicate voices in Okular and Kmouth. Only 1 15.3 installation is <br>
having a normal speech output in Ojular.  All 4 installations are <br>
upgraded systems (from previous opensuse 15.0, 15.1 and prior releases.  <br>
So none of them is a "clean" install like your VM.<br>
<br>
I tried building it on each laptop, but the same result.   You were <br>
reight at the beginnig, it's turning out quite difficult to track down.  <br>
Any other suggestions?<br>
<br>
If all else fails, I'll do a clean install of 15.3 on one of these 4 <br>
partitions.<br>
<br>
Thanks, Gustav.<br>
<br>
<br></blockquote><div><span class="gmail_default" style="font-family:monospace">Truncating the rest to get past mailing list size limit without approval.</span> <br></div></div></div>