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:http://doc.qt.nokia.com/latest/deployment-x11.html .
Following are the files I begin to deploy:
- musicPlay.sh(bq. the same contents as the plugandpaint.sh)
- libtag.so.1(bq. for using TagLib)
- phonon_backend/ (bq. including phonon_gstreamer.so,phonon_xine.so)
Just want to work well ,the files may be more than what I really need.
First, I run musicPlay.sh 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
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.