widget.cpp:6:14: Allocation of incomplete type 'Ui::Widget' 完美解决方案

虽然不影响运行,但是看着很难看。

其实只要你在ui文件中操作之后,它就会自动生成这个文件,然后就不报错了

posted @ 2022-10-20 10:59  heisse  阅读(285)  评论(0)    收藏  举报