MyWindow.obj:-1: error: LNK2019: unresolved external symbol "public: __thiscall six::six(class QWidget *)" (??0six@@QAE@PAVQWidget@@@Z) referenced in function "public: __thiscall MyWindow::MyWindow(class QWidget *)" (??0MyWindow@@QAE@PAVQWidget@@@Z)
MyWindow.obj:-1: error: LNK2019: unresolved external symbol "public: virtual __thiscall six::~six(void)" (??1six@@UAE@XZ) referenced in function __unwindfunclet$??0MyWindow@@QAE@PAVQWidget@@@Z$4
..\Win32\Debug\LinerProblem.exe:-1: error: LNK1120: 2 unresolved externals
只要把下面build生成的文件夹删除,然后重新build
就是下的build 两个文件夹就可以了
另外说一下如果添加的资源文件如图片,像ico图标不显示问题,在生成的程序中不显示 ,就可以像上面删除build文件夹,就可以解决。