Results 1 to 4 of 4

Thread: Eclipse and Phonon

  1. #1
    Join Date
    Jun 2008
    Posts
    24
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Eclipse and Phonon

    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.

  2. #2
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Eclipse and Phonon

    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.

  3. #3
    Join Date
    Jun 2008
    Posts
    24
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Eclipse and Phonon

    Quote Originally Posted by ChristianEhrlicher View Post
    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?
    Last edited by Diph; 9th June 2008 at 14:19.

  4. #4
    JuanC Guest

    Default Re: Eclipse and Phonon

    From Qt Phonon Documentation :

    http://doc.trolltech.com/4.4/phonon-...ndows-versions

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.