なぜ私はこれを得るのですか
Object::connect: No such slot Ide::on_action_Exit_triggered(index)
Object::connect: (sender name: 'actionClose_Project')
Object::connect: (receiver name: 'Ide')
私がこれを試すとき:
connect(this->ui->actionClose_Project, SIGNAL(triggered()), this, SLOT(on_action_Exit_triggered(index)));
void Ide::on_action_Exit_triggered(int index)
{
qDebug()<<"test\n";
}
ありがとうございました。