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 Mon, Jan 26, 2015 at 9:00 PM, anu mittal wrote:
> There is an error: ‘i18n’ was not declared in this scope
> QMessage
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
It worked, Thanks.
On Mon, Jan 26, 2015 at 4:58 AM, Aleix Pol wrote:
> n Sun, Jan 25, 2015 at 6:48 PM, anu mittal wrote:
>
>> Hi,
>> Where do i need to make these changes?
>> KDE_IMPORT OpenBabel2Wrapper is no where defined in .h file or in any
>> cmake.
>> I can also not find any kdemacro.h.c
n Sun, Jan 25, 2015 at 6:48 PM, anu mittal wrote:
> Hi,
> Where do i need to make these changes?
> KDE_IMPORT OpenBabel2Wrapper is no where defined in .h file or in any
> cmake.
> I can also not find any kdemacro.h.cmake file in my project Kalzium.
>
> On Sun, Jan 25, 2015 at 4:30 PM, Tomas Meci
Hi,
Where do i need to make these changes?
KDE_IMPORT OpenBabel2Wrapper is no where defined in .h file or in any
cmake.
I can also not find any kdemacro.h.cmake file in my project Kalzium.
On Sun, Jan 25, 2015 at 4:30 PM, Tomas Mecir wrote:
> Replacing KDE_IMPORT with Q_DECL_IMPORT should fix t
Replacing KDE_IMPORT with Q_DECL_IMPORT should fix that.
2015-01-24 17:56 GMT+01:00 anu mittal :
> Can anybody please give me hint, how to solve the issue shown?
> openbabel2wrapper.h contains the code:-
>
> class COMPOUNDVIEWER_EXPORT OpenBabel2Wrapper
> {
> public:
> /**
> * This class
Can anybody please give me hint, how to solve the issue shown?
openbabel2wrapper.h contains the code:-
class COMPOUNDVIEWER_EXPORT OpenBabel2Wrapper
{
public:
/**
* This class reads the molecule in the file @p filename. It returns 0
if
* the file couldn't be read.
*/
static