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

List:       kde-devel
Subject:    Re: Porting Kalzium
From:       Aleix Pol <aleixpol () kde ! org>
Date:       2015-01-25 23:28:25
Message-ID: CACcA1RqNcMe6vx64_TTYQiJW7s5JWSphYd=mcjE8OGRJBEkovQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


n Sun, Jan 25, 2015 at 6:48 PM, anu mittal <anu22mittal@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 <mecirt@gmail.com> wrote:
>
>> Replacing KDE_IMPORT with Q_DECL_IMPORT should fix that.
>>
>> 2015-01-24 17:56 GMT+01:00 anu mittal <anu22mittal@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

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">n Sun, Jan 25, 2015 \
at 6:48 PM, anu mittal <span dir="ltr">&lt;<a href="mailto:anu22mittal@gmail.com" \
target="_blank">anu22mittal@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi,<div>Where do i need to make these changes? \
</div><div>KDE_IMPORT OpenBabel2Wrapper is no where  defined    in .h file or in any \
cmake.</div><div>I can also not find any kdemacro.h.cmake file in my project Kalzium. \
</div></div><div class="gmail_extra"><div><div class="h5"><br><div \
class="gmail_quote">On Sun, Jan 25, 2015 at 4:30 PM, Tomas Mecir <span \
dir="ltr">&lt;<a href="mailto:mecirt@gmail.com" \
target="_blank">mecirt@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Replacing KDE_IMPORT with Q_DECL_IMPORT should \
fix that.<br></div><div class="gmail_extra"><br><div \
class="gmail_quote"><div><div>2015-01-24 17:56 GMT+01:00 anu mittal <span \
dir="ltr">&lt;<a href="mailto:anu22mittal@gmail.com" \
target="_blank">anu22mittal@gmail.com</a>&gt;</span>:<br></div></div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div><div><div dir="ltr"><span style="font-size:12.8px">Can \
anybody please give me hint, how to solve the issue shown?<br>openbabel2wrapper.h \
contains the code:-<br><br>class COMPOUNDVIEWER_EXPORT \
OpenBabel2Wrapper<br>{<br>public:<br>       /**<br>         * This class reads the \
molecule in the file @p filename. It returns 0 if<br>         * the file couldn&#39;t \
be read.<br>         */<br>       static Avogadro::Molecule *readMolecule(const \
QString&amp; filename);<br><br>       bool writeMolecule(const QString&amp; filename, \
Avogadro::Molecule *);<br><br>       QString getFormula(Avogadro::Molecule \
*molecule);<br><br>       QString getPrettyFormula(Avogadro::Molecule \
*molecule);<br>};<br><br></span><div style="font-size:12.8px">and the issues shown \
are:<br><a href="http://pastebin.com/cZyYtyPU" \
target="_blank">http://pastebin.com/cZyYtyPU</a><br><br></div><div \
style="font-size:12.8px">Please find the attachment which shows the \
snippet.<div><div><img></div></div></div><span><font \
color="#888888"><div><br></div>-- <br><div><div \
dir="ltr">Regards,<div>Anu.</div></div></div> </font></span></div>
</div></div></blockquote></div></div></blockquote></div></div></div></div></blockquote></div><br></div><div \
class="gmail_extra">You can either do as Tomas says or epend on \
KF5::KDELibs4Support.</div><div class="gmail_extra"><br></div><div \
class="gmail_extra">Aleix</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