Results 1 to 16 of 16

Thread: Phonon linking problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Phonon linking problem

    You downloaded the minGW toolchain separatly? If so, this might also be a problem.

    Suggestion:

    Remove all
    Download the latest Qt SDK. This includes everything and works out of the box.

  2. #2
    Join Date
    Aug 2010
    Posts
    16
    Thanks
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Phonon linking problem

    No I did not download it seperately, I use the MinGW toolchain that comes with the SDK

  3. #3
    Join Date
    Aug 2010
    Posts
    16
    Thanks
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Phonon linking problem

    Is there a qmake flag that I can manually invoke for libphonon?

  4. #4
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Phonon linking problem

    Quote Originally Posted by Decessus View Post
    Is there a qmake flag that I can manually invoke for libphonon?
    I'm not sure what you mean, but I guess no.
    You include the phonon library with QT += phonon

    What you see are linker errors which means that the linker can't find certain symbols in the phonon library.
    This in turn means that the library isn't found or it is compiled with another compiler (symbols are messed up).

    Since neither case describes your problem, I'm out of ideas.
    Can you please give more information? Describe exactly what you downloaded, every step you did between installing what you downloaded and building your program, including the full source code.

  5. The following user says thank you to tbscope for this useful post:

    Decessus (13th August 2010)

  6. #5
    Join Date
    Aug 2010
    Posts
    16
    Thanks
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Phonon linking problem

    Hmm, well I seemed to have solved my problem, which apparently was caused by manually including windows.h in an attempt to use PlaySound();

    Thank you for your patience and help

Similar Threads

  1. Qt linking problem
    By LovesTha in forum Newbie
    Replies: 3
    Last Post: 30th March 2009, 23:31
  2. Linking problem on Mac os x 10.4
    By maverick_pol in forum General Programming
    Replies: 0
    Last Post: 6th January 2008, 14:09
  3. Linking problem
    By prosass in forum Newbie
    Replies: 3
    Last Post: 2nd March 2007, 12:22
  4. problem with linking
    By mickey in forum Qt Programming
    Replies: 49
    Last Post: 12th August 2006, 21:41
  5. linking problem
    By high_flyer in forum Qt Programming
    Replies: 2
    Last Post: 7th August 2006, 14:30

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.