.h:
struct STR_INFO
{
QString s;
QList<float> l_f;
}
Q_DECLARE_METATYPE(STR_INFO);
.cpp:
qRegisterMetaType<STR_INFO>("STR_INFO");
connent(this, SIGNAL(mySignal(STR_INFO)), this, SLOT(mySlot(STR_INFO)));
.h:
struct STR_INFO
{
QString s;
QList<float> l_f;
}
Q_DECLARE_METATYPE(STR_INFO);
.cpp:
qRegisterMetaType<STR_INFO>("STR_INFO");
connent(this, SIGNAL(mySignal(STR_INFO)), this, SLOT(mySlot(STR_INFO)));