Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-135010

Qt Speech Voice Selection does not work on macOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P2: Important P2: Important
    • None
    • 6.8.1
    • Speech
    • None
    • macOS 15.2
    • macOS

      On macOS, Qt Speech voice selection does not work.

      • QTextToSpeech::availableVoices() returns the correct voices for a corresponding locale. This is expected behaviour.
      • However, when QTextToSpeech::setVoice() is called with a voice from the list available voices, the function has no effect. The text-to-speech engine will not update to the new voice.

      Using the hello speak example, see attached video. Console log output indicates that available voices is called and returns the expected list of voices for each locale (Cantonese, Mandarin/China, Mandarin/Taiwan. However, the voice that "speaks" is always Sinji, which is the voice for Cantonese.

        1. hellospeak_example.mp4
          4.35 MB
          Aaron Tan
        2. list-of-voices.txt
          0.8 kB
          Aaron Tan
        3. Screen Recording 2025-03-22 at 13.38.09.mov
          2.43 MB
          Volker Hilsheimer
        4. Example 2025-03-28.mp4
          15.63 MB
          Aaron Tan
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vhilshei Volker Hilsheimer
            aaronhktan Aaron Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes