2012/7/7 Thiago Macieira <thiago.macie...@intel.com>:
> On sábado, 7 de julho de 2012 13.19.36, Lucas Betschart wrote:
>> /usr/include/qt4/QtCore/qmetatype.h:169:80: error: 'qt_metatype_id' is
>> not a member of 'QMetaTypeId<QMap<QString, int> >'
>
> Ah, right. You need to Q_DECLARE_METATYPE that type. And note that you can't
> use a comma in Q_DECLARE_METATYPE, so you need to typedef it to something
> before.
>
> And don't forget to qDBusRegisterMetaType too, which means writing the
> operator<< and operator>> marshalling functions.
>

Thank you very much. Now it works :)
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to