[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:29:32
Message-ID: CALdSTMu06rKifx66m7CLKfR2mWumKg0Gv=+0=NmaD1m91bBedg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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.luebking@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.

[Attachment #5 (text/html)]

<div dir="ltr">Yes have tried \
both,<div>#include&lt;klocalizedstring.h&gt;</div><div>and  \
</div><div>#include&lt;KLocalizedString&gt;</div><div><br></div><div>both give same \
error-</div><div><span style="font-size:12.8000001907349px">No such file or \
directory</span><br></div></div><div class="gmail_extra"><br><div \
class="gmail_quote">On Tue, Jan 27, 2015 at 8:43 PM, Thomas Lübking <span \
dir="ltr">&lt;<a href="mailto:thomas.luebking@gmail.com" \
target="_blank">thomas.luebking@gmail.com</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="">On Dienstag, 27. Januar 2015 16:02:25 CEST, \
anu mittal wrote:<br> <br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> Still the same error is shown-<br>
i18n' was not declared in this scope<br>
              QMessageBox::warning(0,i18n(&quot;<u></u>Problem while opening the \
file&quot;)<br> where else i might be going wrong?<br>
</blockquote>
<br></span>
Do you<br>
#include &lt;klocalizedstring.h&gt;<br>
?<br>
<br>
Cheers,<br>
Thomas<div class="HOEnZb"><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"> Visit <a \
href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub" \
target="_blank">http://mail.kde.org/mailman/<u></u>listinfo/kde-devel#unsub</a> to \
unsubscribe &lt;&lt;<br> </blockquote></blockquote>
</div></div></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