Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. statically compiling Qt 5.11.3:ERROR: Feature 'gstreamer_1_0' was enabled, but the pre-condition 'libs.gstreamer_1_0' failed.
Forum Updated to NodeBB v4.3 + New Features

statically compiling Qt 5.11.3:ERROR: Feature 'gstreamer_1_0' was enabled, but the pre-condition 'libs.gstreamer_1_0' failed.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 2 Posters 1.3k 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.
  • jiejieJ Offline
    jiejieJ Offline
    jiejie
    wrote on last edited by jiejie
    #1

    I encountered the following problem when statically compiling Qt 5.11.3 using Raspberry Pi:

    ERROR: Feature 'gstreamer_1_0' was enabled, but the pre-condition 'libs.gstreamer_1_0' failed.
    

    This is my configuration:

    ./configure -v -prefix /usr/local/qt5-arm -static -release -opensource -confirm-license -xplatform linux-arm-gnueabi-g++ -no-opengl -no-compile-examples -gstreamer 1.0
    

    I found a similar issue, but it didn't solve my problem in the end:

    https://forum.qt.io/topic/85955/reinstall-qt5-with-qtmultimedia-using-ubuntu-mate/13

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

      Hi and welcome to devnet,

      You should check the configuration test logs to see what went wrong.

      Might be a silly question but did you install the GStreamer development packages ?

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

      jiejieJ 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        You should check the configuration test logs to see what went wrong.

        Might be a silly question but did you install the GStreamer development packages ?

        jiejieJ Offline
        jiejieJ Offline
        jiejie
        wrote on last edited by
        #3

        @SGaist Hi,happy new year.

        yes,I have installed gstreamer1.0-dev on the raspberry pi...

        pi@raspberrypi:~/jie $ sudo apt-get install gstreamer1.0-dev
        Reading package lists... Done
        Building dependency tree       
        Reading state information... Done
        Note, selecting 'libgstreamer1.0-dev' for regex 'gstreamer1.0-dev'
        libgstreamer1.0-dev is already the newest version (1.14.4-1).
        The following package was automatically installed and is no longer required:
          point-rpi
        Use 'sudo apt autoremove' to remove it.
        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
        

        but this configuration is incorrect and I get the following error:

        ERROR: Feature 'gstreamer_1_0' was enabled, but the pre-condition 'libs.gstreamer_1_0' failed.
        

        Other configurations are correct....and I removed the -gstreamer 1.0 option and the configuration was successful.

        thanks...

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

          There are other GStreamer-1.0 related development packages that you are likely missing. You should check the test logs to see exactly what failed.

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

          jiejieJ 1 Reply Last reply
          1
          • SGaistS SGaist

            There are other GStreamer-1.0 related development packages that you are likely missing. You should check the test logs to see exactly what failed.

            jiejieJ Offline
            jiejieJ Offline
            jiejie
            wrote on last edited by
            #5

            @SGaist Ok thank you very much for your reply, I think I will do it another way...

            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