mainwindow.obj:-1: error: LNK2019: 无法解析的外部符号 "public: __cdecl about::about(class QWidget *)" (??0abo

1.qt项目中新建的子类窗口dialog编译不过的方法是:

2.先把生成的debug文件全部删除,然后点菜单中的构建,然后重新进行构建项目,然后qmake, 之后重新编译。

猜你喜欢

转载自blog.csdn.net/yanchenyu365/article/details/84230703
今日推荐