does not name a type 的可能性

案例一:

qt导入pro工程文件,编译报错 debug\moc_cSkin.cpp:111:1: error: 'QT_INIT_METAOBJECT' does not name a type

解决办法:构建->清理所有项目->重新构建项目 

构建成功的话就可以执行了。

猜你喜欢

转载自blog.csdn.net/weixin_37815019/article/details/84875600