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. Build dependencies
Forum Updated to NodeBB v4.3 + New Features

Build dependencies

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 1 Posters 333 Views
  • 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.
  • C Offline
    C Offline
    Circuits
    wrote on last edited by
    #1

    Hey guys, I have a bit of an odd question and I am not exactly sure if I understand what's happening well enough to even ask this question in a way that makes sense but I will try.

    I am attempting to use QtMultimedia 5.0 and if I compile the qmlVideo example using the built in kit (Desktop Qt 5.12.3 GCC 64bit) then works correctly. However, if I use my own kit then, although it does compile correctly, I get an error when actually attempting to play a video with it:

    defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer
    

    I am assuming this means that when using my kit (which is using a different qmake file coming from a custom QT installation folder) that the costume installation does not have access to that plugin there. So, where exactly do you specify what libs to built for custom installations?

    Would that be done during the Make process of the platform or would it be specified during the Make process for the build? Perhaps you can specify this kind of information in the Built and Run commands for the kit itself? I did not create this custom installation myself so I really don't have much of an idea of how it all works.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Circuits
      wrote on last edited by
      #2

      Alright well I figured out that this needs to be in the config options. Something like:

      QT_CONFIG_OPTIONS += -gstreamer
      

      however; running that and installing I get and error:

      ERROR: Feature 'gstreamer' was enabled, but the pre-condition 'features.gstreamer_1_0 || features.gstreamer_0_10' failed.
      

      so one step forward two steps back I guess..

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Circuits
        wrote on last edited by
        #3

        Installing the following libs:

        sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
        

        allows me to get past that error. I will let you know after the installation if I can successfully run the qmlvideo (use QtMultimedia) example with this custom platform install.

        1 Reply Last reply
        0
        • C Offline
          C Offline
          Circuits
          wrote on last edited by
          #4

          Alright, yep, that did it. In summary to use this you will need to have the following lib's installed:

          libqt5multimedia5-plugins
          libgstreamer1.0-dev 
          libgstreamer-plugins-base1.0-dev
          

          and you will have to have -gstreamer configured on your platform.

          1 Reply Last reply
          1

          • Login

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