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 build Qt statically to make the Qt multimedia work
Forum Updated to NodeBB v4.3 + New Features

How to build Qt statically to make the Qt multimedia work

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 1.6k 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.
  • D Offline
    D Offline
    DCsunset
    wrote on 28 Nov 2017, 13:13 last edited by DCsunset
    #1

    I'm using Ubuntu 16.04
    After I have statically built the Qt 5.10.0, my program that includes Qt multimedia module goes wrong:
    defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
    I have searched for the solution for a long time. Some solutions are to build Qt with gstreamer. However, Ubuntu seems to have broken packages and can't install libgstreamer1.0-dev.
    Installing libgstreamer0.1-dev doesn't help at all.

    In addition, I have tried to include the shared library of gstreamer, but the program has the same error. And when I'm trying to build Qt 5.9.3, it turns out the none of gstreamer, pulseaudio and alsa can be found.

    Is there any solution to it?

    Thanks in advance.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 28 Nov 2017, 20:52 last edited by
      #2

      Hi and welcome to devnet,

      Did you check that you are correctly linking to the static plugins ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • D Offline
        D Offline
        DCsunset
        wrote on 29 Nov 2017, 01:48 last edited by DCsunset
        #3

        Maybe it's exactly the problem here.
        I've seen this section before, but I can't find a list of Qt static plugins supported including the plugins I need.

        What plugin do I need to add in terms of Qt multimedia?

        J 1 Reply Last reply 29 Nov 2017, 03:08
        0
        • D DCsunset
          29 Nov 2017, 01:48

          Maybe it's exactly the problem here.
          I've seen this section before, but I can't find a list of Qt static plugins supported including the plugins I need.

          What plugin do I need to add in terms of Qt multimedia?

          J Offline
          J Offline
          jiancaiyang
          wrote on 29 Nov 2017, 03:08 last edited by jiancaiyang
          #4

          @DCsunset To take a look for source code.
          Maybe some hint could be found in source code, and bugreports.qt.io could be another good place for you.

          我们自己的论坛:http://qtdream.com
          擅长三维角色仿真动画。

          1 Reply Last reply
          0
          • D Offline
            D Offline
            DCsunset
            wrote on 29 Nov 2017, 04:34 last edited by DCsunset
            #5

            @SGaist Actually, it's not the problem of adding QTPLUGIN, because qmake will automatically add the necessary plugin.

            I should compile Qt with gstreamer, alsa or pulseaudio, but I fail to do it.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 30 Nov 2017, 22:54 last edited by
              #6

              Do you mean the plugins are not built or that you can't configure Qt to build ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              1/6

              28 Nov 2017, 13:13

              • Login

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