QT invalid application of 'sizeof' to incomplete type信号和槽以结构体为参数传...
信号和槽以结构体为参数传递复杂数据struct DataStruct
{
QByteArray DstAddr;
QByteArray ClusterId;
int DstEndpoint;
int DeviceEndpoint;
int CommandID;
QByteArray AttributeID;
int DataType;
};
Q_DECLARE_METATYPE(DataStruct) //后面没有分号
页:
[1]