Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to deploy a phonon based application on ubuntu OS?
Forum Updated to NodeBB v4.3 + New Features

How to deploy a phonon based application on ubuntu OS?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 3.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    ll0507
    wrote on last edited by
    #1

    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:http://doc.qt.nokia.com/latest/deployment-x11.html .
    Following are the files I begin to deploy:

    • musicPlay
    • musicPlay.sh(bq. the same contents as the plugandpaint.sh)
    • libphonon.so.4
    • libQtCore.so.4
    • libQtGui.so.4
    • libQtXml.so.4
    • libtag.so.1(bq. for using TagLib)
    • libQtDBus.so.4
    • libgstreamer-0.10.so
    • libaudio.so.2
    • 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
    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.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dangelog
      wrote on last edited by
      #2

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

      Software Engineer
      KDAB (UK) Ltd., a KDAB Group company

      1 Reply Last reply
      0
      • L Offline
        L Offline
        ll0507
        wrote on last edited by
        #3

        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?

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved