[Qt-interest] how to create audible signals using Qt4?

Chaitral chaitral at rediffmail.com
Tue Feb 17 14:14:08 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&
 nbsp;   Thanks in advance.Regards,Chaitral
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090217/6964a205/attachment.html 


More information about the Qt-interest-old mailing list