Yes QMessageBox is ported from KMessageBox,
i got is solved :)
One can also refer http://qt-project.org/doc/qt-4.8/qmessagebox.html for
more details.
Thanks.
On Tue, Jan 27, 2015 at 9:33 PM, Thomas Lübking
wrote:
> On Dienstag, 27. Januar 2015 16:53:01 CEST, Christoph Feck wrote:
>
>> On Tuesday
On Dienstag, 27. Januar 2015 16:53:01 CEST, Christoph Feck wrote:
On Tuesday 27 January 2015 16:46:13 Thomas Lübking wrote:
On Dienstag, 27. Januar 2015 16:42:49 CEST, anu mittal wrote:
It then says error: no matching function for call to
‘QMessageBox::warning(int, QString)’
QMessageBox::warni
On Tuesday 27 January 2015 16:46:13 Thomas Lübking wrote:
> On Dienstag, 27. Januar 2015 16:42:49 CEST, anu mittal wrote:
> > It then says
> > error: no matching function for call to
> > ‘QMessageBox::warning(int, QString)’
> >
> > QMessageBox::warning(0,i18n("
> >
> > Cannot save to the
Okay,I got it. :)
Thanks for the help.
On Tue, Jan 27, 2015 at 9:16 PM, Thomas Lübking
wrote:
> On Dienstag, 27. Januar 2015 16:42:49 CEST, anu mittal wrote:
>
>> It then says
>> error: no matching function for call to ‘QMessageBox::warning(int,
>> QString)’
>> QMessageBox::warning(0,i1
On Dienstag, 27. Januar 2015 16:42:49 CEST, anu mittal wrote:
It then says
error: no matching function for call to ‘QMessageBox::warning(int, QString)’
QMessageBox::warning(0,i18n("
Cannot save to the specified file."));
Not during compilation, but on configuration.
If you add those li
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
wrote:
> On Dienstag, 27. Januar 2015 16:17:32 CEST, anu mittal wrote:
>
>> Yes
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,
Th
Yes have tried both,
#include
and
#include
both give same error-
No such file or directory
On Tue, Jan 27, 2015 at 8:43 PM, Thomas Lübking
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
>>
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
?
Cheers,
Thomas
Visit http://mail.kde
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,
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
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-deve
12 matches
Mail list logo