PDA

View Full Version : Eclipse and Phonon



Diph
9th June 2008, 13:24
Hi.

I'm using Qt 4.4 and Eclipse. I tried the Phonon Music Player example and when I try to build it, I get this error:
"C:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\ mingw32\bin\ld.exe: cannot find -lphonond"

I have added QT += phonon in pro-file.

ChristianEhrlicher
9th June 2008, 13:36
phonon is not compiled by default. You have to enable it. But afaik phonon doesn't compile with mingw. You have to use msvc instead.

Diph
9th June 2008, 13:42
phonon is not compiled by default. You have to enable it. But afaik phonon doesn't compile with mingw. You have to use msvc instead.
So there's no way to use Phonon with Eclipse? First I used MSVC but then I decided to change to Eclipse because I tought it was easier to use with Qt.

E: If I compile Qt again to use it with MSCV 2008 should it work with Phonon backend or should I do something before compiling? As I said before I tried the Phonon Music Player example with MSVC and it couldn't open mp3-files. Does this have something to do with backend?

JuanC
14th July 2008, 20:41
From Qt Phonon Documentation :

http://doc.trolltech.com/4.4/phonon-overview.html#windows-xp-and-later-windows-versions


Warning: The MinGW version of Qt does not support building the Qt backend.