PDA

View Full Version : [Qt 4.4] Phonon Module



scorpiondezer
2nd July 2008, 19:05
Hi :)
I try to use a phonon module but I have a problem in a compilation:eek::


C:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\ mingw32\bin\ld.exe: cannot find -lphonon

my code:


#include <phonon>


Phonon::MediaObject bip;
bip.setCurrentSource(Phonon::MediaSource("alerte.mp3"));
bip.play();


*.pro

QT += phonon

thank you!!

jpn
6th July 2008, 18:07
How did you install Qt? Did you compile it yourself? Did you examine configure output to verify that phonon support was enabled?