遇到问题qt报错:找不到符号

在写qt代码是遇到下面问题,恳请各位大神求解
09:08:54: 为项目test03执行步骤 ...
09:08:54: 正在启动 "/Users/lifei/Qt5.5.0/5.5/clang_64/bin/qmake" /Users/lifei/Qt_test/test03/test03.pro -r -spec macx-clang CONFIG+=debug CONFIG+=x86_64

09:08:54: 进程"/Users/lifei/Qt5.5.0/5.5/clang_64/bin/qmake"正常退出。
09:08:54: 正在启动 "/usr/bin/make"

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -Wl,-rpath,/Users/lifei/Qt5.5.0/5.5/clang_64/lib -o test03.app/Contents/MacOS/test03 main.o mainwindow.o logindialog.o moc_mainwindow.o moc_logindialog.o -F/Users/lifei/Qt5.5.0/5.5/clang_64/lib -framework QtWidgets -framework QtGui -framework QtCore -framework DiskArbitration -framework IOKit -framework OpenGL -framework AGL
Undefined symbols for architecture x86_64:
"LoginDialog::~LoginDialog()", referenced from:
vtable for LoginDialog in moc_logindialog.o
"LoginDialog::~LoginDialog()", referenced from:
_main in main.o
vtable for LoginDialog in moc_logindialog.o
"non-virtual thunk to LoginDialog::~LoginDialog()", referenced from:
vtable for LoginDialog in moc_logindialog.o
"non-virtual thunk to LoginDialog::~LoginDialog()", referenced from:
vtable for LoginDialog in moc_logindialog.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [test03.app/Contents/MacOS/test03] Error 1
09:08:55: 进程"/usr/bin/make"退出,退出代码 2 。
Error while building/deploying project test03 (kit: Desktop Qt 5.5.0 clang 64bit)
When executing step "Make"
09:08:55: Elapsed time: 00:01.

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问