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

Qt Speech Voice Selection does not work on macOS

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes