0

I'm developing an application for Windows. I find a way to get country code like 1(USA) and 82(South Korea).

demonplus
  • 5,613
  • 12
  • 49
  • 68
Storm
  • 21
  • 1
  • 3

1 Answers1

0

Qt provides the QLocale::Country enum which includes all countries. You can use the countryToString static method in order to get the name of each country.

pnezis
  • 12,023
  • 2
  • 38
  • 38
  • Thank you for answer. But, I want to get "Country Codes" not country name . "County codes" means international call number like +1, +82, +86 and so on. – Storm Apr 20 '16 at 05:34