Hi Igor,

if you're using the code quoted in your message then you have simply registered 
your pointer class with the wrong type name. If you use
qRegisterMetaType<SharedInt>("SharedInt");
then things should work.

You should also be careful with typedefs like "SharedInt" for your pointer 
class. Qt's meta type system is largely based on string comparison, so even if 
a type is just an alias of another, moc might not have taken this into account 
and you will get an "incompatible sender/receiver arguments" warning at runtime.

Carsten.
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to