Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, February 2007
Re: QObject::connect: cannot queue QSharedDataPointer


Message 1 in thread

Hi,

> I tried including <QMetaType> and calling 
> qRegisterMetaType<QVxMessagePtr>("QVxMessagePtr") , but my compiler 
> doesn't seem to recognize the call (this is a global function, yes?)

It is a global function, but the documentation reads:
http://doc.trolltech.com/4.2/qmetatype.html#qRegisterMetaType
	Any class or struct that has a public constructor, a public
	copy constructor, and a public destructor can be registered.

--
 [ signature omitted ]