Re: Porting Kalzium

2015-01-27 Thread anu mittal
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 anu22mit...@gmail.com wrote: There is an error: ‘i18n’ was not declared in this scope

Re: Porting Kalzium

2015-01-26 Thread anu mittal
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:

Re: Porting Kalzium

2015-01-25 Thread Tomas Mecir
Replacing KDE_IMPORT with Q_DECL_IMPORT should fix that. 2015-01-24 17:56 GMT+01:00 anu mittal anu22mit...@gmail.com: Can anybody please give me hint, how to solve the issue shown? openbabel2wrapper.h contains the code:- class COMPOUNDVIEWER_EXPORT OpenBabel2Wrapper { public: /**

Porting Kalzium

2015-01-25 Thread 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 reads the molecule in the file @p filename. It returns 0 if * the file couldn't be read. */ static

Re: Porting Kalzium

2015-01-25 Thread Aleix Pol
n Sun, Jan 25, 2015 at 6:48 PM, anu mittal anu22mit...@gmail.com 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

Re: Porting Kalzium

2015-01-25 Thread anu mittal
It worked, Thanks. On Mon, Jan 26, 2015 at 4:58 AM, Aleix Pol aleix...@kde.org wrote: n Sun, Jan 25, 2015 at 6:48 PM, anu mittal anu22mit...@gmail.com 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

Re: Porting Kalzium

2015-01-25 Thread anu mittal
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 mec...@gmail.com wrote: Replacing KDE_IMPORT with