--===============6711633610985292319== Content-Type: multipart/alternative; boundary=001a11343b927537b6050da41b0c --001a11343b927537b6050da41b0c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable It then says error: no matching function for call to =E2=80=98QMessageBox::warning(int, = QString)=E2=80=99 QMessageBox::warning(0,i18n(" Cannot save to the specified file.")); On Tue, Jan 27, 2015 at 8:51 PM, Thomas L=C3=BCbking wrote: > On Dienstag, 27. Januar 2015 16:17:32 CEST, anu mittal wrote: > >> Yes have tried both, >> #include >> and >> #include >> >> 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 << >>> >> --=20 Regards, Anu. --001a11343b927537b6050da41b0c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It then says
error: no matching function for call to = =E2=80=98QMessageBox::warning(int, QString)=E2=80=99
=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 QMessageBox::warning(0,i18n("
Cannot save to the specified file."));

On Tue, Jan 27, 2015 at 8:5= 1 PM, Thomas L=C3=BCbking <thomas.luebking@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?



--
Regards,
Anu.
--001a11343b927537b6050da41b0c-- --===============6711633610985292319== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============6711633610985292319==--