I am trying to do a connect with a std::vector<FrameData*>&
using queued connection
connect(this, SIGNAL(process(QVector<FrameData*>&)),
this, SLOT(beginProcess(QVector<FrameData*>&),
Qt::ConnectionType::QueuedConnection);
What parameters should I pass for QRegisterMetaType
for this to work?
Thanks in advance!
You can't use non-const references in signals and slots.
EDIT: ...when using Queued connections.
std::vector or QVector? presumably the following should work,
int type = qRegisterMetaType< QVector<FrameData*> >("QVector<FrameData*>");