[PyQt] Use qRegisterMetaType()

AON LAZIO aonlazio at gmail.com
Wed Feb 10 18:52:53 GMT 2010


Hi, guys.
  When I tried to do connection like this

self.connect(a,SIGNAL('output(QVariant)', self.update)

I got this message

QObject::connect: Cannot queue arguments of type 'QVariant'
(Make sure 'QVariant' is registered using qRegisterMetaType().)

I found out the searh to 'qRegisterMetaType' led me to QMetaType Class
but I got no clue to properly use it
Anybody know how to do this?
Thanks

-- 
Passion is my style
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100210/6ef02eb6/attachment.html>


More information about the PyQt mailing list