wow didnt think it was something of that nature ...

so this is what i did ... i added the line you suggested so my .pro looks like this now:

Qt Code:
  1. ######################################################################
  2. # Automatically generated by qmake (2.00a) Mon Oct 9 03:17:34 2006
  3. ######################################################################
  4.  
  5. TEMPLATE = app
  6. TARGET +=
  7. DEPENDPATH += .
  8. INCLUDEPATH += .
  9. LIBS += -L"C:\Programs\Qt\4.1.4\lib" -llibaudiere
  10.  
  11. # Input
  12. HEADERS += audiere.h
  13. SOURCES += simple.cpp
To copy to clipboard, switch view to plain text mode 

before the way i was doing it ... this line :
Qt Code:
  1. LIBS += -L"C:\Programs\Qt\4.1.4\lib" -llibaudiere
To copy to clipboard, switch view to plain text mode 
was not in the .pro file at all ...

good thing is that it compiles and doesnt give any errors but just a few warnings ... bad thing is that it doesnt work properly ... maybe it was compiled badly, or the warnings did cause some change ... but basically its not running as it should ...

Compile log:
Qt Code:
  1. mingw32-make -f Makefile.Release
  2. mingw32-make[1]: Entering directory `D:/Projects/simple'
  3. g++ -c -O2 -O2 -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_D
  4. LL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
  5. -I"C:/Programs/Qt/4.1.4/include/QtCore" -I"C:/Programs/Qt/4.1.4/include/QtGui"
  6. -I"C:/Programs/Qt/4.1.4/include" -I"." -I"C:/Programs/Qt/4.1.4/include/ActiveQt"
  7. -I"release" -I"." -I"c:\Programs\Qt\4.1.4\mkspecs\win32-g++" -o release\simple.
  8. o simple.cpp
  9. In file included from simple.cpp:5:
  10. audiere.h:72: warning: `class audiere::RefCounted' has virtual functions but non
  11. -virtual destructor
  12. audiere.h:229: warning: `class audiere::File' has virtual functions but non-virt
  13. ual destructor
  14. audiere.h:306: warning: `class audiere::SampleSource' has virtual functions but
  15. non-virtual destructor
  16. audiere.h:425: warning: `class audiere::LoopPointSource' has virtual functions b
  17. ut non-virtual destructor
  18. audiere.h:478: warning: `class audiere::OutputStream' has virtual functions but
  19. non-virtual destructor
  20. audiere.h:595: warning: `class audiere::Event' has virtual functions but non-vir
  21. tual destructor
  22. audiere.h:610: warning: `class audiere::StopEvent' has virtual functions but non
  23. -virtual destructor
  24. audiere.h:640: warning: `class audiere::Callback' has virtual functions but non-
  25. virtual destructor
  26. audiere.h:668: warning: `class audiere::StopCallback' has virtual functions but
  27. non-virtual destructor
  28. audiere.h:696: warning: `class audiere::AudioDevice' has virtual functions but n
  29. on-virtual destructor
  30. audiere.h:786: warning: `class audiere::SampleBuffer' has virtual functions but
  31. non-virtual destructor
  32. audiere.h:839: warning: `class audiere::SoundEffect' has virtual functions but n
  33. on-virtual destructor
  34. g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runt
  35. ime-pseudo-reloc -Wl,-s -Wl,-s -Wl,-subsystem,windows -o "release\simple.exe" re
  36. lease\simple.o -L"c:\Programs\Qt\4.1.4\lib" -lmingw32 -lqtmain -L"C:\Programs\Q
  37. t\4.1.4\lib" -llibaudiere -lQtGui4 -lQtCore4
  38. mingw32-make[1]: Leaving directory `D:/Projects/simple'
To copy to clipboard, switch view to plain text mode 

any suggestions ?