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

      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.

        1. SSOLogFile_India.txt
          34 kB
          Pragya Kaundal
        2. qLocale_SSOJSUIApps.zip
          26 kB
          Amit Rai
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes