Qt运行时候提取错误:
Object::connect: No such slot ButtonDialog::buttonClicked() int ButtonDialog.cpp:17
Object::connect: No such slot ButtonDialog::buttonToggled() in ButtonDialog.cpp:18
错误原因:
对slot()函数的属性设置错误
public:
void buttonClicked();
void buttonToggled();
改为如下就OK
private slots:
void buttonClicked();
void buttonToggled();