Reputation: 29
I got the following message around at time 23:59:59 pass to next day. I have no idea (since the codes were written by others) where it come from. Could anyone suggest how to find out the problem? Thanks!
QObject::connect: Cannot queue arguments of type 'QItemSelection'
(Make sure 'QItemSelection' is registered using qRegisterMetaType().)
QObject::connect: Cannot queue arguments of type 'QItemSelection'
(Make sure 'QItemSelection' is registered using qRegisterMetaType().)
QObject::connect: Cannot queue arguments of type 'QItemSelection'
(Make sure 'QItemSelection' is registered using qRegisterMetaType().)
Upvotes: 0
Views: 8479
Reputation: 17768
Use the following outside of a namespace:
Q_DECLARE_METATYPE(namespace::QItemSelection)
Upvotes: 5