KDE_EXPORT is needed

Stephen Kelly steveire at gmail.com
Wed Jul 4 14:42:08 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) 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.
> 

Oh, another sidenote is that in Qt 5 K_EXPORT_PLUGIN will probably go away. 
It relies on Q_EXPORT_PLUGIN, which is no longer there.

Still though, I think the patch to cmake should be applied if it is 'good'.

Thanks,

Steve.




More information about the Kde-frameworks-devel mailing list