How to deploy a phonon based application on ubuntu OS?

  • Dears,
    I have writed an application using phonon to play back and can work well under my developing system(ubuntu 10.04). When I deploy it to another machine without installing the Qt library, errors occur. I follow the steps described in Qt document about 'Deloping Qt application on X11 platforms',here the linking site: .
    Following are the files I begin to deploy:

    • musicPlay
    • the same contents as the
    • for using TagLib)
    • phonon_backend/ (bq. including,

    Just want to work well ,the files may be more than what I really need.

    First, I run in my current system and it can work. then,I copy the files to another machine(the same OS but not installing Qt) and do it again,somethings unexpected happen:
    @WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
    Segmentation fault
    It seems to mean that I have missed the phonon backend plugin,but I have alreadly created the phonon_backend directory and put the plugins inside it.
    I hope someone may give me a suggestion, Thank you.

  • If you're using GStreamer you also need to ship GStreamer plugins, but you should really check its documentation to see how...

  • Thanks the reply.Yes,I use the default GStreamer as backend.I read the 'phonon' documentation and know that the libgstreamer-plugins-base0.10-0 should be required.But there is another question.This package is automatically installed through 'apt-get install' command on ubuntu,and I don't know where it is located.If any commands can help to search the package?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.