Hi
I try to use a phonon module but I have a problem in a compilation:
C:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lphonon
C:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lphonon
To copy to clipboard, switch view to plain text mode
my code:
#include <phonon>
#include <phonon>
To copy to clipboard, switch view to plain text mode
Phonon::MediaObject bip;
bip.setCurrentSource(Phonon::MediaSource("alerte.mp3"));
bip.play();
Phonon::MediaObject bip;
bip.setCurrentSource(Phonon::MediaSource("alerte.mp3"));
bip.play();
To copy to clipboard, switch view to plain text mode
*.pro
QT += phonon
QT += phonon
To copy to clipboard, switch view to plain text mode
thank you!!
Bookmarks