qt报错symbol(s) not found for architecture x86_64

经查,是因为一个slot函数,前面未加类名:

1
2
3
void cancelButtonClicked(){
//...
}

改成:

1
2
3
void FormAddConnection::cancelButtonClicked(){
//...
}

发表评论

电子邮件地址不会被公开。 必填项已用*标注