but in the main.cpp dont work!
#include <qapplication.h>
#include <qsound.h>
#include "form1.h"
#include <qstatusbar.h>
int main( int argc, char ** argv )
{
QApplication a( argc, argv );
Form1 w;
// w.show();
w.showMaximized();
QSound::play("sounds/refuge.wav");
statusBar()->message( "Ready", 1000 );
a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) );
return a.exec();
}