[Kde-pim] Problem with akonadi plugin serializer

Kevin Krammer krammer at kde.org
Tue Mar 12 13:42:55 GMT 2013


Hi Michael,

On Tuesday, 2013-03-12, Michael Parchet wrote:
> Hello kevin kramer,
> 
> I tried to make an akonadi plugin for my project but I have this error when
> I try to compile.
> 
> /opt/local/include/QtCore/qmetatype.h:169: erreur : no member named
> 'qt_metatype_id' in 'QMetaTypeId<History>' (History is the Tutorial class)

Hmm.
Try adding
Q_DECLARE_METATYPE(History)
at the end of history.h

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20130312/efb2b736/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list