Qt 信号与槽使用错误 :error: no matching function for call to……
代码:QObject::connect(comboBoxVersion,&QComboBox::currentIndexChanged,this,&RepositoryWidget::slotDisplayVersion);执行上面语句,提示如下错误,connect采用的是Qt5的语法,问题原因是函数currentIndexChanged函数重载,有两个不同形参:voidcurrentIndexC