Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Why qt config can't detect gstreamer sources?

Why qt config can't detect gstreamer sources?

Scheduled Pinned Locked Moved Solved Installation and Deployment
9 Posts 3 Posters 1.6k 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.
  • R Offline
    R Offline
    r3d9u11
    wrote on last edited by r3d9u11
    #1

    Hi. I'm trying to build qt from and cross-compile it (qt-everywhere-src-5.11.2) for arm (from Linux Mint 18.3 x64) with gstreamer support. I have already installed packages libgstreamer1.0-dev, libgstreamer0.10, etc:
    alt text
    But configuration process was failed:

    $./configure -v -opensource -confirm-license 
        -device imx6 -device-option CROSS_COMPILE=arm-linux-gnueabihf- 
        -make libs
        -nomake examples -nomake tests
        -no-pch -no-xcb  -no-egl -no-opengl 
        -skip wayland -skip qtwebview -skip qtwebengine -skip qtwebchannel -no-qml-debug
        -gstreamer
        -prefix ../$QtDir
    

    output:

    ...
    Qt Multimedia:
      ALSA ................................... no
      GStreamer 1.0 .......................... no
      GStreamer 0.10 ......................... no
      Video for Linux ........................ yes
      OpenAL ................................. no
      PulseAudio ............................. no
      Resource Policy (libresourceqt5) ....... no
      Windows Audio Services ................. no
      DirectShow ............................. no
      Windows Media Foundation ............... no
    
    Note: Also available for Linux: linux-clang linux-icc
    
    ERROR: Feature 'gstreamer' was enabled, but the pre-condition 'features.gstreamer_1_0 || features.gstreamer_0_10' failed.
    

    I found some post/questions with similar problems, but I didn't find any solution :(
    What I'm doing wrong?
    Thanks!

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Run configure with verbose flag to see the issue in more detail.

      (Z(:^

      1 Reply Last reply
      1
      • R Offline
        R Offline
        r3d9u11
        wrote on last edited by r3d9u11
        #3

        @sierdzio here is full output log of configuration process (-v defined): https://pastebin.com/dfAXezi9

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Looks like it is trying to get GStreamer through pkconfig. Perhaps it would work if you specified libs and includes for GStreamer manually, I don't know.

          (Z(:^

          R 1 Reply Last reply
          0
          • sierdzioS sierdzio

            Looks like it is trying to get GStreamer through pkconfig. Perhaps it would work if you specified libs and includes for GStreamer manually, I don't know.

            R Offline
            R Offline
            r3d9u11
            wrote on last edited by
            #5

            @sierdzio thanks for hit, I'll do more experiments

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Hi,

              Might be a silly question but do you have pkg-config installed ?

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

              R 1 Reply Last reply
              0
              • SGaistS SGaist

                Hi,

                Might be a silly question but do you have pkg-config installed ?

                R Offline
                R Offline
                r3d9u11
                wrote on last edited by
                #7

                @SGaist sure:

                $ pkg-config --libs gstreamer-1.0
                -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0
                
                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Wait... You are cross-compiling... Do you have gstreamer for your target's architecture ?

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

                  R 1 Reply Last reply
                  3
                  • SGaistS SGaist

                    Wait... You are cross-compiling... Do you have gstreamer for your target's architecture ?

                    R Offline
                    R Offline
                    r3d9u11
                    wrote on last edited by r3d9u11
                    #9

                    @SGaist Yes. Sorry, my bad. Now I build a full environment for the cross-compilation with needed libs. Thanks for help!

                    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