网站介绍:正常调用没问题,但是一旦关联起来例如connect(qcombobox, SIGNAL(currentIndexChanged(int)), this, SLOT(ChangeDriveInfo(int)));此时再调用clear()方法,就会崩溃。解决办法是在调用clear()方法时先调用disconnect(qcombobox, SIGNAL(currentIndexC_qt combobox clear崩溃
- 链接地址:https://blog.csdn.net/yexiangCSDN/article/details/10960819
- 链接标题:QComboBox 调用clear() 崩溃 问题_qt combobox clear崩溃-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:7706
- 网站标签:qt combobox clear崩溃