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

QLocale: Irrespective of the regional format set on the device, the country code returned is always UK

    XMLWordPrintable

Details

    Description

      We are currently using the following API to retrieve the country set on a Symbian device.

      QLocale QLocale::system ()
      QLocale systemLocale = QLocale::system();
      country = QLocale::countryToString(systemLocale.country());
      

      The API always returns UK as the country code irrespective of the country set on the device.
      Eg : Returns the country code as UK when the country set on the device is India.

      Attachments

        Issue Links

          Activity

            People

              dzyubenk Denis Dzyubenko (Inactive)
              pkaundal Pragya Kaundal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: