解决方法: 将不识别的参数结构进行注册,让Qt能够识别。 包含头文件 #include 在构造函数中调用其方法完成注册: qRegisterMetaType<QVector>(“QVector”);//注册QVector类型