There seems to be quite a few users of KLocale functions that do not have equivalents outside KDELibs4Support. E.g. countryCodeToName (https://api.kde.org/frameworks/kdelibs4support/html/classKLocale.html#a0ecb21950b7e94a3cb7f1ab256019de1) to get Country X in Language Y (Qt offers Country X in Language X or Country X in English).
iso-codes project seems to have necessary data in json format. KContacts already use some of it (it contains a generator that reads json and produces .cpp file with data that is pre-committed to repository). But that's not very scalable...
See also: https://api.kde.org/frameworks/kconfigwidgets/html/classKLanguageName.html