On Friday 17 December 2010, Raphael Kubo da Costa wrote: > #define ALKIMIA_EXPORT KDE_EXPORT > > Isn't it preferable to create an alk_export.h, as is more usual > for libraries?
Yes, otherwise it won't compile on Windows, where the export macro needs to be changed depending on "building the lib" or "using the lib". Tip: use kdesdk/scripts/kde_generate_export_header to generate your export header. -- David Faure, fa...@kde.org, http://www.davidfaure.fr Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).