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 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 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: >>>> /** >>>> * This class reads the molecule in the file @p filename. It >>>> returns 0 if >>>> * the file couldn't be read. >>>> */ >>>> static Avogadro::Molecule *readMolecule(const QString& filename); >>>> >>>> bool writeMolecule(const QString& filename, Avogadro::Molecule *); >>>> >>>> QString getFormula(Avogadro::Molecule *molecule); >>>> >>>> QString getPrettyFormula(Avogadro::Molecule *molecule); >>>> }; >>>> >>>> and the issues shown are: >>>> http://pastebin.com/cZyYtyPU >>>> >>>> Please find the attachment which shows the snippet. >>>> >>>> -- >>>> Regards, >>>> Anu. >>>> >>> > You can either do as Tomas says or epend on KF5::KDELibs4Support. > > Aleix > > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to > unsubscribe << > > -- Regards, Anu.
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<