Qt出现Ui:MainWindow undeclared错误

多是拷贝代码时出现的问题,把右侧面板的objectname改成MainWindow就好了。

posted @ 2020-01-20 10:32  相印  阅读(612)  评论(0)    收藏  举报