Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined reference to `vtable for testshow' #4

Open
yuchuxiang opened this issue Jul 11, 2023 · 1 comment
Open

undefined reference to `vtable for testshow' #4

yuchuxiang opened this issue Jul 11, 2023 · 1 comment

Comments

@yuchuxiang
Copy link

博主您好,我在编译代码的时候,遇到 undefined reference to `vtable for testshow'这种问题,请问是出现了什么问题!

@WelinLee
Copy link
Owner

Qt中如要支持信号与槽机制需要继承QObject,然后类声明里面也要有Q_OBJECT宏。可以从这个方面再检查一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants