Hi
I have made it to work.
After rep files are generated with compile error, edit them and paste QDataStream definition before class body. Ifndef is necessary if you have more than one class for remoting with QDomDocument in signal/slot
#ifndef _xml_operator_
#define _xml_operator_
Q_DECLARE_METATYPE(QDomDocument)
inline QDataStream& operator<<(QDataStream& out, QDomDocument xml)
{
out << xml.toString();
return out;
}
inline QDataStream& operator>>(QDataStream& in, QDomDocument& xml)
{
QString msg;
in >> msg;
xml.setContent(msg);
return in;
}
#endif //_xml_operator_
hope it will help somebody
Best Regards
Marek