引用第1楼wd007于2009-12-09 16:12发表的 :
你是如何安装Qt的,默认没有安装Phonon模块吧
编译结果如下。。。。
Running build steps for project bfq...Configuration unchanged, skipping QMake step.
Starting: F:/Qt/2009.04/mingw/bin/mingw32-make.exe -w mingw32-make: Entering directory `F:/project/bfq'
F:/Qt/2009.04/mingw/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `F:/project/bfq'
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\bfq.exe debug/main.o debug/mainwindow.o debug/moc_mainwindow.o -L"f:\Qt\2009.04\qt\lib" -lmingw32 -lqtmaind -lphonond -lQtGuid4 -lQtCored4
mingw32-make[1]: Leaving directory `F:/project/bfq'
mingw32-make: Leaving directory `F:/project/bfq'
f:\Qt\2009.04\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lphonond
collect2: ld returned 1 exit status
mingw32-make[1]: *** [debug\bfq.exe] Error 1
mingw32-make: *** [debug] Error 2
Exited with code 2.Error while building project bfq
When executing build step 'Make'