QObject::connect: Cannot queue arguments of type 'QVector'

不知道为啥
我就加了类似下面的代码

    item->setData(node.getSize(), Qt::DisplayRole);

报错为

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

你可能感兴趣的:(编程错误,#,Qt)