It then says error: no matching function for call to ‘QMessageBox::warning(int, QString)’ QMessageBox::warning(0,i18n(" Cannot save to the specified file."));
On Tue, Jan 27, 2015 at 8:51 PM, Thomas Lübking <thomas.luebk...@gmail.com> wrote: > On Dienstag, 27. Januar 2015 16:17:32 CEST, anu mittal wrote: > >> Yes have tried both, >> #include<klocalizedstring.h> >> and >> #include<KLocalizedString> >> >> both give same error- >> No such file or directory >> > > Errr... and this in cmake > > find_package(KF5I18n) > target_link_libraries(your_appname_here KF5::I18n) > > does *not* cause some error? > > > 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 <<