无法解析的外部符号 "public: virtual struct QMetaObject const * __cdecl PTSData::metaObject(void)const " (?met
class IfcData : public QObject {
//Q_OBJECT
}
解决办法:
删掉头文件的 Q_OBJECT 重新生成
如果后面还报错,就再添加Q_OBJECT ,再重新生成
标签:const,struct,OBJECT,virtual,QMetaObject,public
来源: https://www.cnblogs.com/herd/p/16153682.html