Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Speech plug-in
Forum Updated to NodeBB v4.3 + New Features

Qt Speech plug-in

Scheduled Pinned Locked Moved Unsolved General and Desktop
20 Posts 8 Posters 9.2k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Eeli K

    "On Linux by default speech-dispatcher is used." Speech-dispather seems to be a general daemon, not a speech synthesizer. It needs a real synthesizer backend, so you have to install one and make sure speech-dispatcher is running and using that synthesizer. Try for example espeak. Maybe it works directly without speech-dispatcher?

    E Offline
    E Offline
    Eeli K
    wrote on last edited by
    #6

    @Eeli-K
    Or rather https://en.wikipedia.org/wiki/ESpeakNG.

    jsulmJ 1 Reply Last reply
    1
    • E Eeli K

      @Eeli-K
      Or rather https://en.wikipedia.org/wiki/ESpeakNG.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #7

      @Eeli-K I don't think this will solve "No text-to-speech plug-ins were found" problem as Qt Speech needs a plug-in, but my installation do not have any. So, I have no idea how it is supposed to work. Do I have to implement a plug-in by myself?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      E 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Eeli-K I don't think this will solve "No text-to-speech plug-ins were found" problem as Qt Speech needs a plug-in, but my installation do not have any. So, I have no idea how it is supposed to work. Do I have to implement a plug-in by myself?

        E Offline
        E Offline
        Eeli K
        wrote on last edited by
        #8

        @jsulm So you installed Qt Speech plugin with the maintenance tool?

        jsulmJ 1 Reply Last reply
        0
        • E Offline
          E Offline
          Eeli K
          wrote on last edited by
          #9

          https://en.wikipedia.org/wiki/Festival_Speech_Synthesis_System seems to be another candidate, if you get the system working at all.

          1 Reply Last reply
          0
          • E Eeli K

            @jsulm So you installed Qt Speech plugin with the maintenance tool?

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #10

            @Eeli-K I installed Qt Speech using Qt Maintenance Tool, but there are no plug-in for Qt Speech.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            E 1 Reply Last reply
            0
            • jsulmJ jsulm

              @Eeli-K I installed Qt Speech using Qt Maintenance Tool, but there are no plug-in for Qt Speech.

              E Offline
              E Offline
              Eeli K
              wrote on last edited by
              #11

              @jsulm Next step would be to try to load with the engine name, speechd in Linux and sapi in Windows (found from the source code).

              1 Reply Last reply
              0
              • E Offline
                E Offline
                Eeli K
                wrote on last edited by
                #12

                The code for plugins is in the repository (see http://code.qt.io/cgit/qt/qtspeech.git/tree/src/plugins/tts?id=483208aff4f583df2c9c14d0d549c39d68481196) and in the source code downloaded by the Maintenance Tool. They seem to properly include and use the platform dependent code. If the binaries don't exist it must be a build issue, a bug in the official downloaded binaries.

                jsulmJ 1 Reply Last reply
                2
                • E Eeli K

                  The code for plugins is in the repository (see http://code.qt.io/cgit/qt/qtspeech.git/tree/src/plugins/tts?id=483208aff4f583df2c9c14d0d549c39d68481196) and in the source code downloaded by the Maintenance Tool. They seem to properly include and use the platform dependent code. If the binaries don't exist it must be a build issue, a bug in the official downloaded binaries.

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #13

                  @Eeli-K Yes, it does not make sense to provide a TP without mandatory plug-ins.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • beeckscheB Offline
                    beeckscheB Offline
                    beecksche
                    wrote on last edited by beecksche
                    #14

                    I also installed it with the maintenance tool. The example works perfectly on OS X and it makes a lot of fun. Great job!

                    1 Reply Last reply
                    0
                    • frederikF Offline
                      frederikF Offline
                      frederik
                      wrote on last edited by
                      #15

                      I created https://bugreports.qt.io/browse/QTBUG-58461 - feel free to follow that bug. It is indeed missing the plugin from the packages.

                      1 Reply Last reply
                      0
                      • frederikF Offline
                        frederikF Offline
                        frederik
                        wrote on last edited by
                        #16

                        Which Windows version did you test? From what I can tell, the plugin is not in the MINGW packages, the MVSC packages should have it, is that correct?

                        jsulmJ 1 Reply Last reply
                        0
                        • frederikF frederik

                          Which Windows version did you test? From what I can tell, the plugin is not in the MINGW packages, the MVSC packages should have it, is that correct?

                          jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on last edited by
                          #17

                          @frederik Thanks for the info!
                          I tested the MinGW version. I will test MSVC version later.

                          https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • G Offline
                            G Offline
                            gabizzz
                            wrote on last edited by
                            #18

                            Under linux install:
                            speechd-el
                            speechd-el-doc-cs
                            speechd-up

                            1 Reply Last reply
                            1
                            • jsulmJ jsulm

                              Did anybody try to get Qt Speech up and running?
                              I tried the example on both Windows and Linux. It builds and runs but says "No text-to-speech plug-ins were found".
                              The plugin directory of my Qt 5.8 installation does not contain anything related to Qt Speech.
                              I thought if I install Qt Speech a plug-in will be installed?
                              Documentation does not say anything about Qt Speech plug-ins.

                              KroMignonK Offline
                              KroMignonK Offline
                              KroMignon
                              wrote on last edited by KroMignon
                              #19

                              @jsulm I've used Qt Speech on Android (7.0 / API 24) , and it works fine, with Qt 5.12.x.
                              It works also with Windows 7, but voice is not so nice as Android voices

                              It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

                              1 Reply Last reply
                              2
                              • S Offline
                                S Offline
                                srce
                                wrote on last edited by
                                #20

                                To solve "No text-to-speech plug-ins were found" on Ubuntu, I needed to install

                                sudo apt-get install qtspeech5-speechd-plugin

                                (This installs: /usr/lib/x86_64-linux-gnu/qt5/plugins/texttospeech/libqtexttospeech_speechd.so)

                                And the speech engine can be installed with:

                                sudo apt-get install speech-dispatcher

                                1 Reply Last reply
                                0

                                • Login

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Users
                                • Groups
                                • Search
                                • Get Qt Extensions
                                • Unsolved