KDE_EXPORT is needed

Stephen Kelly steveire at gmail.com
Wed Jul 4 14:33:01 UTC 2012


Patrick Spendrin wrote:

> One issue I have found was that KDE_EXPORT and KDE_IMPORT went missing.
> 
> KDE_EXPORT and KDE_IMPORT are needed e.g. if you want to export a
> function from a plugin (you never want to import it)

Sounds like something that should be changed in generate_export_header in 
CMake.

> meaning that it is
> needed for K_EXPORT_PLUGIN to work properly. In that special case we
> could use Q_DECL_EXPORT but since we can't always rely on Qt being
> available I would prefer if we define those two again.

Could you try the attached patch to cmake? If it works, we can apply it to a 
copy of the two affected files which we keep in frameworks until 2.8.10 is 
out.

Thanks,

Steve.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-DECL_EXPORT-macro-which-is-always-defined-as-a.patch
Type: text/x-patch
Size: 2892 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20120704/1e707d2d/attachment.patch>


More information about the Kde-frameworks-devel mailing list