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:
######################################################################
# Automatically generated by qmake (2.00a) Mon Oct 9 03:17:34 2006
######################################################################
TEMPLATE = app
TARGET +=
DEPENDPATH += .
INCLUDEPATH += .
LIBS += -L"C:\Programs\Qt\4.1.4\lib" -llibaudiere
# Input
HEADERS += audiere.h
SOURCES += simple.cpp
######################################################################
# Automatically generated by qmake (2.00a) Mon Oct 9 03:17:34 2006
######################################################################
TEMPLATE = app
TARGET +=
DEPENDPATH += .
INCLUDEPATH += .
LIBS += -L"C:\Programs\Qt\4.1.4\lib" -llibaudiere
# Input
HEADERS += audiere.h
SOURCES += simple.cpp
To copy to clipboard, switch view to plain text mode
before the way i was doing it ... this line :
LIBS += -L"C:\Programs\Qt\4.1.4\lib" -llibaudiere
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:
mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory `D:/Projects/simple'
g++ -c -O2 -O2 -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_D
LL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
-I"C:/Programs/Qt/4.1.4/include/QtCore" -I"C:/Programs/Qt/4.1.4/include/QtGui"
-I"C:/Programs/Qt/4.1.4/include" -I"." -I"C:/Programs/Qt/4.1.4/include/ActiveQt"
-I"release" -I"." -I"c:\Programs\Qt\4.1.4\mkspecs\win32-g++" -o release\simple.
o simple.cpp
In file included from simple.cpp:5:
audiere.h:72: warning: `class audiere::RefCounted' has virtual functions but non
-virtual destructor
audiere.h:229: warning: `class audiere::File' has virtual functions but non-virt
ual destructor
audiere.h:306: warning: `class audiere::SampleSource' has virtual functions but
non-virtual destructor
audiere.h:425: warning: `class audiere::LoopPointSource' has virtual functions b
ut non-virtual destructor
audiere.h:478: warning: `class audiere::OutputStream' has virtual functions but
non-virtual destructor
audiere.h:595: warning: `class audiere::Event' has virtual functions but non-vir
tual destructor
audiere.h:610: warning: `class audiere::StopEvent' has virtual functions but non
-virtual destructor
audiere.h:640: warning: `class audiere::Callback' has virtual functions but non-
virtual destructor
audiere.h:668: warning: `class audiere::StopCallback' has virtual functions but
non-virtual destructor
audiere.h:696: warning: `class audiere::AudioDevice' has virtual functions but n
on-virtual destructor
audiere.h:786: warning: `class audiere::SampleBuffer' has virtual functions but
non-virtual destructor
audiere.h:839: warning: `class audiere::SoundEffect' has virtual functions but n
on-virtual destructor
g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runt
ime-pseudo-reloc -Wl,-s -Wl,-s -Wl,-subsystem,windows -o "release\simple.exe" re
lease\simple.o -L"c:\Programs\Qt\4.1.4\lib" -lmingw32 -lqtmain -L"C:\Programs\Q
t\4.1.4\lib" -llibaudiere -lQtGui4 -lQtCore4
mingw32-make[1]: Leaving directory `D:/Projects/simple'
mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory `D:/Projects/simple'
g++ -c -O2 -O2 -frtti -fexceptions -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_D
LL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
-I"C:/Programs/Qt/4.1.4/include/QtCore" -I"C:/Programs/Qt/4.1.4/include/QtGui"
-I"C:/Programs/Qt/4.1.4/include" -I"." -I"C:/Programs/Qt/4.1.4/include/ActiveQt"
-I"release" -I"." -I"c:\Programs\Qt\4.1.4\mkspecs\win32-g++" -o release\simple.
o simple.cpp
In file included from simple.cpp:5:
audiere.h:72: warning: `class audiere::RefCounted' has virtual functions but non
-virtual destructor
audiere.h:229: warning: `class audiere::File' has virtual functions but non-virt
ual destructor
audiere.h:306: warning: `class audiere::SampleSource' has virtual functions but
non-virtual destructor
audiere.h:425: warning: `class audiere::LoopPointSource' has virtual functions b
ut non-virtual destructor
audiere.h:478: warning: `class audiere::OutputStream' has virtual functions but
non-virtual destructor
audiere.h:595: warning: `class audiere::Event' has virtual functions but non-vir
tual destructor
audiere.h:610: warning: `class audiere::StopEvent' has virtual functions but non
-virtual destructor
audiere.h:640: warning: `class audiere::Callback' has virtual functions but non-
virtual destructor
audiere.h:668: warning: `class audiere::StopCallback' has virtual functions but
non-virtual destructor
audiere.h:696: warning: `class audiere::AudioDevice' has virtual functions but n
on-virtual destructor
audiere.h:786: warning: `class audiere::SampleBuffer' has virtual functions but
non-virtual destructor
audiere.h:839: warning: `class audiere::SoundEffect' has virtual functions but n
on-virtual destructor
g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runt
ime-pseudo-reloc -Wl,-s -Wl,-s -Wl,-subsystem,windows -o "release\simple.exe" re
lease\simple.o -L"c:\Programs\Qt\4.1.4\lib" -lmingw32 -lqtmain -L"C:\Programs\Q
t\4.1.4\lib" -llibaudiere -lQtGui4 -lQtCore4
mingw32-make[1]: Leaving directory `D:/Projects/simple'
To copy to clipboard, switch view to plain text mode
any suggestions ?
Bookmarks