PDA

View Full Version : about qt4.4 example under windows



alban_gt
12th August 2008, 17:19
Dear All:

I try to compile the example phonon in QT 4.4 under the windows. However, it can not pass the compiler, and its error message is as following:



g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\musicplayer.exe tmp/obj/debug_shared/main.o tmp/obj/debug_shared/mainwindow.o tmp/obj/debug_shared/moc_mainwindow.o -L"c:\Qt\4.4.1\lib" -L"c:\Qt\4.4.1\lib" -lmingw32 -lqtmaind -lphonond -lQtGuid4 -lQtCored4
C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\ mingw32\bin\ld.exe: cannot find -lphonond

collect2: ld returned 1 exit status
mingw32-make[1]: Leaving directory `C:/Qt/4.4.1/examples/phonon/musicplayer'
mingw32-make[1]: *** [debug\musicplayer.exe] Error 1
mingw32-make: *** [debug-all] Error 2


And some other examples also have the same problems, such as qdbus. Could any one can give me any suggestion to solve the problem, thanks.


BRS,
Alban

jacek
12th August 2008, 17:42
How did you compile Qt? It looks like you don't have the debugging version of phonon.

muellerp
13th August 2008, 10:30
And it seems to be mingw. Phonon (better the DS9 backend) doesn't compille on Win with mingw.

alban_gt
14th August 2008, 01:38
Yes, I use mingw.
And did qdbus also not work under mingw?

thanks


BRS,
Alban