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

List:       kde-devel
Subject:    Internatinalization error: i18n was not declared in the scope.
From:       anu mittal <anu22mittal () gmail ! com>
Date:       2015-01-27 11:56:56
Message-ID: CALdSTMu2M7pBBLZ4ZETkmuzwvUB9W5SMdNqNnE5-yNYsniiNSw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


There is an error: ‘i18n' was not declared in this scope
         QMessageBox::warning(0,i18n("Problem while opening the file")

then according to localization notes i included KLocalizedString in the
class and also have KF5::KDELibs4Support set, then also got the following
error:

KLocalizedString: No such file or directory
 #include <KLocalizedString>

How can i resolve it?

-- 
Regards,
Anu.

[Attachment #5 (text/html)]

<div dir="ltr"><div style="font-size:12.8000001907349px">There is an error: ‘i18n' \
was not declared in this scope<br>                 \
QMessageBox::warning(0,i18n(&quot;Problem while opening the file&quot;)<br><br>then \
according to localization notes i included KLocalizedString in the class and also \
have KF5::KDELibs4Support set, then also got the following \
error:<br><br>KLocalizedString: No such file or directory<br>  #include \
&lt;KLocalizedString&gt;<br></div><div \
style="font-size:12.8000001907349px"><br></div><div \
style="font-size:12.8000001907349px">How can i resolve it?</div><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