Diffusion Ark 3aacbbaab50a

Do not use Q_DECLARE_METATYPE(KPluginMetaData) with KF 5.60+

Authored by lbeltrame on Jul 5 2019, 5:01 AM.

Description

Do not use Q_DECLARE_METATYPE(KPluginMetaData) with KF 5.60+

It is already defined in kcoreaddons since 318b0e75242931ea420caf3e7123d54eb8351c51
and will break compilation.

Use a version macro instead, so that it is correctly used only with KF
5.59 or lower.

I put this in stable branch in case people will use 19.04 with 5.60
(likely), but feel free to revert in case it is not appropriate.

Details

Committed
lbeltrameJul 5 2019, 5:01 AM
Parents
R36:a05a3b0bce00: Fix version number
Branches
Unknown
Tags
Unknown