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

Christopher Rasch-Olsen Raa christopher at technophile.info
Tue Feb 17 14:22:15 CET 2009


Tirsdag 17 februar 2009 14:14:08 skrev Chaitral:
> 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

Chaitral,

Reposting and just changing the subject will not get you constructive replies. 
Please see what Srdjan Todorovic wrote to you yesterday. Use google and have a 
look in the Qt-interest archives.

-- 
Christopher



More information about the Qt-interest-old mailing list