i use fedora 8, qt-x11-4.4.2 and this i my code

#include <QApplication>
#include <QSound>

int main(int argc, char *argv[])
{
QApplication a(argc, argv);

QSound:: play("/home/wavefile/laugh.wav");

return a.exec();
}


but i cannot hear any sound.
Qsound::isAvailabel always returns true
and i think nas has already installed but when i run nasd command , it returns error.

anybody help me? thanks

sorry for my english