http://blog.csdn.net/lvc851116/article/details/8537452
QT按键增加按键音代码功能,代码如下:voidQKeyPushButton::mouseReleaseEvent(QMouseEvent*event){QPushButton::mouseReleaseEvent(event);mplay->execute(program,arguments);//此处调用"aplayclick.wav"播放按键音文件}但是这样会导致一个现象,即在按键过快按下的时