You apparently call function ki18n() and use class KLocalizedString.
Since the compiler did not have issues with that, you must have included their definitions. Which header defines them? What package does that header file belong to? Does that package contain a library too?
('man ki18n' might give you a manual of the function. That could help on the search.)