0
点赞
收藏
分享

微信扫一扫

Qt报错:XXX does not name a type


Qt开发,代码报错,提示:

‘Algo‘ does not name a type.

原因:两个类相互引用了头文件。

Qt报错:XXX does not name a type_头文件

把被调用类中对调用类投文件的引用删掉即可。

参考:QT报错:does not name a type——头文件不能互相包含_伍铭的博客-CSDN博客


举报

相关推荐

0 条评论