The system of reading aloud does not work, since I need it for lack of vision, I would be grateful to have it fixed. Thank you
This isn't a part of Okular, is it? Isn't this a different program or a system service?
It is, see ui/tts.cpp fpg which distribution are you using? You need to use one that provides the dependency for Qt5TextToSpeech
Thanks Albert. I can confirm that Okular has a text-to-speech feature when compiled with Qt5TextToSpeech. It doesn't in Kubuntu 17.04. I'll file a bug on that: https://bugs.launchpad.net/ubuntu/+source/okular/+bug/1717131 That said, when I compile git master with libqt5texttospeech5-dev and launch Okular with a PDF, the feature is available, but neither "Speak Whole Document" nor "Speak Current Page" result in any sound. Console prints "No text-to-speech plug-ins were found." What else is missing?
On Archlinux you install the flite package.
Boom, got it working with the qtspeech5-flite-plugin package in Ubuntu. Updated https://bugs.launchpad.net/ubuntu/+source/okular/+bug/1717131 So this is a distro problem. Until and unless your distro resolves the issue for you, you can re-compile Okular with libqt5texttospeech5 and install qtspeech5-flite-plugin and it should work.