moc_QtMqttclient.cpp:52: error: no 'void QtMqttclient::qt_static_metacall(QObject, QMetaObject::Call, int, void*)' member function declared in class 'QtMqttclient'
moc_QtMqttclient.cpp:68: error: 'const QMetaObjectExtraData QtMqttclient::staticMetaObjectExtraData' is not a static member of 'class QtMqttclient'
moc_QtMqttclient.cpp:70: error: argument of type 'void (QtMqttclient::)(QObject, QMetaObject::Call, int, void)' does not match 'int ()(QMetaObject::Call, int, void)'
moc_QtMqttclient.cpp:74: error: 'staticMetaObjectExtraData' was not declared in this scope
在linux上编译没有报错,但是在进行交叉编译的时候却报错了,moc文件不是自动生成的吗,为啥会出现这样的问题啊
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。