Ch.Ehrlicher at gmx.de
Tue Nov 28 18:57:17 GMT 2006
Sebastian Sauer schrieb:
> Christian Ehrlicher wrote:
>> SVN commit 608869 by chehrlic:
>> add KROSSCORE_EXPORT - is this the only export macro for kross?
> there also exists a KROSS_EXPORT. But since core is so far the only part that
> really exports classes while everything else uses Qt's introspection I guess
> it's not needed to have the visibility also defined for e.g.
> kross/modules/form.h, or?
> Also KROSS_EXPORT and KROSSCORE_EXPORT are already defined in
> kross/core/krossconfig.h and imho it would be nicer to have them within the
> kross directory to be able to extract the source or parts of it easily (e.g.
> to provide later a Qt-only mode like kjsembed has). Or is it some kind of
> general policy or just needed to have them always at kdelibs_export* (iof yes
> please explain why or point me to a link, so that I am able to learn for the
> future :)?
I did not noticed that there is already a definition because the normal
way in kdelibs was to add them to kdelibs_export.h. Don't know if this
is the way it must be or the way it should... we've to ask.
Did you also add the export for windows there? see kdelibs_export_win.h.
More information about the kde-core-devel