首页| 论坛| 消息

标题:初学者在stacked widget和listwidget遇到的问题
作者:玩玩儿法
日期:2016-07-27 22:30
内容:

在设计模式下 将listwidget部件的currentRowChanged()信号和stackedwidget的setCurrentIndex()槽关联 出错
D:\Qt\helloword\build-untitled1-Desktop_Qt_5_7_0_MinGW_32bit-Debug\debug\moc_kowidget.cpp:75: error: undefined reference to `KoWidget::on_listWidget_currentRowChanged(int)'
collect2.exe:-1: error: error: ld returned 1 exit status
如何解决?


#1 [6gongzi 07-28 08:38]
信号和槽的参数个数不同,不能关联

回复 发表
主题 版块