[Qt-interest] how to enable sound in Qt4?

Chaitral chaitral at rediffmail.com
Mon Feb 16 16:34:14 CET 2009


Hello all, Can anyone please tell me how to enable audible signals in QT4?I have tried following:#include <QApplication>#include <qsound.h>#include <QtGui>int main(int argc, char *argv[]){    QApplication app(argc, argv);    app.beep();} The program is getting compiled successfully, but there is no sound while execution. I have also tried printf("a") but that is also not providing any sound.I have successfully configured ALC882 analog device and I can hear test sounds. Can you point me to some demo application that I can try.Following is the aditional information:Card:    Vendor: Intel Corp.    Module: 82801H (ICH8 Family) HD Adio Controller    Module: snd-hda-intelALSA Sound system information:    ALSA driver version: Driver Version 1.0.15    ALSA Lib package: alsa-lib-1.0.15-1.fc8    ALSA Utils package: alsa-utils-1.0.15-1.fc8&n
 bsp;   Thanks in advance.Regards,Chaitral
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090216/e51519d9/attachment.html 


More information about the Qt-interest-old mailing list