error: undefined reference to `vtable for

出现如下错误:
1
解决办法
当类中加入Q_OBJECT,需要手动删除中间文件,再构建

猜你喜欢

转载自blog.csdn.net/zhangxuechao_/article/details/81132882