[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Internatinalization error: i18n was not declared in the scope.
From:       anu mittal <anu22mittal () gmail ! com>
Date:       2015-01-27 15:14:25
Message-ID: CALdSTMuvc4e8gP5Y-WSiYq7xSGRq_9x=6uv_cG=m8ab2b9nP5A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,
I tried the same, also mentionded in
http://api.kde.org/frameworks-api/frameworks5-apidocs/ki18n/html/index.html
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?

On Tue, Jan 27, 2015 at 5:16 PM, Luca Beltrame <lbeltrame@kde.org> wrote:

> anu mittal wrote:
>
>
> > class and also have KF5::KDELibs4Support set, then also got the
> following
> > error:
>
> You will need to use and link against KF5::I18n, IIRC.
>
> --
> Luca Beltrame - KDE Forums team
> KDE Science supporter
> GPG key ID: 6E1A4E79
>
>
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> unsubscribe <<
>



-- 
Regards,
Anu.

[Attachment #5 (text/html)]

<div dir="ltr">Hi,<div>I tried the same, also mentionded in <a \
href="http://api.kde.org/frameworks-api/frameworks5-apidocs/ki18n/html/index.html">htt \
p://api.kde.org/frameworks-api/frameworks5-apidocs/ki18n/html/index.html</a><br></div><div>Still \
the same error is shown-</div><div><span style="font-size:12.8000001907349px">i18n' \
was not declared in this scope</span><br style="font-size:12.8000001907349px"><span \
style="font-size:12.8000001907349px">                 \
QMessageBox::warning(0,i18n(&quot;</span><span \
style="font-size:12.8000001907349px">Problem while opening the \
file&quot;)</span><br></div><div><span style="font-size:12.8000001907349px">where \
else i might be going wrong?   </span></div></div><div class="gmail_extra"><br><div \
class="gmail_quote">On Tue, Jan 27, 2015 at 5:16 PM, Luca Beltrame <span \
dir="ltr">&lt;<a href="mailto:lbeltrame@kde.org" \
target="_blank">lbeltrame@kde.org</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><span class="">anu mittal wrote:<br> <br>
<br>
&gt; class and also have KF5::KDELibs4Support set, then also got the<br>
following<br>
&gt; error:<br>
<br>
</span>You will need to use and link against KF5::I18n, IIRC.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Luca Beltrame - KDE Forums team<br>
KDE Science supporter<br>
GPG key ID: 6E1A4E79<br>
<br>
<br>
<br>
&gt;&gt; Visit <a href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub" \
target="_blank">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> to \
unsubscribe &lt;&lt;<br> </font></span></blockquote></div><br><br \
clear="all"><div><br></div>-- <br><div class="gmail_signature"><div \
dir="ltr">Regards,<div>Anu.</div></div></div> </div>



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic