Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 384137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T15:21:04+00:00 2026-05-12T15:21:04+00:00

I am trying to compile media player sample application in qt 4.5 sdk using

  • 0

I am trying to compile media player sample application in qt 4.5 sdk using qtcreator.
I cannot compile them in windows as well as linux, in case of linux, this is the error:
Starting: /home/varun/qtsdk-2009.03/qt/bin/qmake /home/varun/qtsdk-2009.03/qt/examples/phonon/musicplayer/musicplayer.pro -spec linux-g++ -r
Exited with code 0.
Starting: /usr/bin/make -w
make: Entering directory /home/varun/qtsdk-2009.03/qt/examples/phonon/musicplayer'
g++ -Wl,-O1 -Wl,-rpath,/home/varun/qtsdk-2009.03/qt/lib -o musicplayer main.o mainwindow.o moc_mainwindow.o -L/home/varun/qtsdk-2009.03/qt/lib -lphonon -lQtGui -L/home/varun/qtsdk-2009.03/qt/lib -L/usr/X11R6/lib -pthread -lfreetype -lgobject-2.0 -lSM -lICE -pthread -pthread -lXrender -lfontconfig -lXext -lX11 -lQtCore -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
/usr/bin/ld: cannot find -lphonon
collect2: ld returned 1 exit status
make: *** [musicplayer] Error 1
make: Leaving directory
/home/varun/qtsdk-2009.03/qt/examples/phonon/musicplayer’
Exited with code 2.
Error while building project musicplayer
When executing build step ‘Make’

In case of windows, missing thing is lphonond, rest error message is same

I am trying to build multimedia encoder in Qt, please help me resolve this error! 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T15:21:04+00:00Added an answer on May 12, 2026 at 3:21 pm

    If you compiled Qt yourself, you probably didn’t include Phonon.

    On Linux, you have to add “-phonon” to your configure line, and you probably also need development libraries for whatever back-end you want to build. Most likely, that will be GStreamer.

    Unless you have a particular need to compile Qt from source code, you probably shouldn’t. The Qt development libraries that come with most recent Linux distributions should have Phonon support already built-in, with an appropriate back-end set up.

    On Windows, you can’t build Phonon with a stock version of MinGW – you need to upgrade to GCC 4.4, and apply some patches.

    You can also build Qt using Microsoft’s compilers. Either the Windows SDK or Visual Studio Express Edition will do the trick, as will a full version of Visual Studio if you have it. You also need the DirectX SDK. If you’re using Qt Creator, you will probably also have to compile that from source.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 201k
  • Answers 201k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Simplest solution is to have CUSTOM ROLE define a method… May 12, 2026 at 8:12 pm
  • Editorial Team
    Editorial Team added an answer If MVC produces a 401 Unathorized response then the failure… May 12, 2026 at 8:12 pm
  • Editorial Team
    Editorial Team added an answer I looked into whether the Indy components could do this… May 12, 2026 at 8:12 pm

Related Questions

I am trying to use a set of conditional statements that will set up
i am trying to compile this very simple piece of code class myList {
I am trying to compile the following code: private String dataToString(){ Map data =
I am trying to compile the regex_search function on the vxWorks gcc platform. I
i am trying to compile my program which uses regex on linux. I built

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.