error LNK2001: 无法解析的外部符号 "public: virtual struct QMetaObject const * 及QtMsBuild: could not locate...
针对标题问题:一般是moc文件未包含到工程里面造成的,新建筛选器 将所有的moc_*.cpp,ui_*.h添加进去重新编译即可。如果上述两种文件丢失,可以由下面配置vs属性 根据源码重新生成。(也可以解决 :QtMsBuild: could not locate qt.targets, qt.props; project may not build correctly.)这种问题
下面前提是你...
原创
2019-11-18 17:39:32 ·
1037 阅读 ·
0 评论