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

QTextToSpeech uses wrong locale by default

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 5.9.4, 5.12.0
    • Speech
    • None
    • Linux with speech-dispatcher using the espeak-ng plugin.
    • Linux/Wayland, Linux/X11
    • c96c1d5c7107b286b17640be7df9d8201e06ec5c

    Description

      If QTextToSpeech::setLocale is not called, the wrong voice with the wrong locale is used.

      Calling

      tts.setLocale(QLocale::system())

       fixes it.

      Minimal reproducer attached, run with

      LANG=en ./testspch

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vhilshei Volker Hilsheimer
            vogtinator Fabian Vogt
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes