Yes have tried both, #include<klocalizedstring.h> and #include<KLocalizedString>
both give same error- No such file or directory On Tue, Jan 27, 2015 at 8:43 PM, Thomas Lübking <thomas.luebk...@gmail.com> wrote: > On Dienstag, 27. Januar 2015 16:02:25 CEST, anu mittal wrote: > > Still the same error is shown- >> i18n’ was not declared in this scope >> QMessageBox::warning(0,i18n("Problem while opening the file") >> where else i might be going wrong? >> > > Do you > #include <klocalizedstring.h> > ? > > Cheers, > Thomas > > > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to >>> unsubscribe << >>> >> -- Regards, Anu.
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<