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. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest