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. QtMultimedia cross compiling libqgsttools.so is missing

QtMultimedia cross compiling libqgsttools.so is missing

Scheduled Pinned Locked Moved Mobile and Embedded
cross compileqtmultimediagstreamer
8 Posts 2 Posters 3.5k 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.
  • ILI Offline
    ILI Offline
    IL
    wrote on last edited by
    #1

    Hi,
    I am working on QT cross compilation to beaglbone like platform, when i try to disply video on my HMI screen, i have croos compilied all gstreamer related package, this is include glib, zlib, gst-plugin-base, orc, libffi and gst-libav.
    QT configurationidentify gstreamer version 1.0 and enable it. but when I run make for compilation, it cannot identify gstreamer.
    I also cann see the line "checking for gstreamer... no"

    please advice,
    best regards,
    IL

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

      Hi,

      Add -v to configure to see where the gstreamer test is failing. Probably not finding your cross-compiled gstreamer

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

      ILI 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Add -v to configure to see where the gstreamer test is failing. Probably not finding your cross-compiled gstreamer

        ILI Offline
        ILI Offline
        IL
        wrote on last edited by
        #3

        @SGaist - my ./configure is already in verbos mode, the only notification during compilation about gstreamer is the one that I have mention above,
        "checking for gstreamer... no"

        Thanks,
        IL

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

          You need to take a look at the tests output and find the gstreamer part

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

          ILI 1 Reply Last reply
          0
          • SGaistS SGaist

            You need to take a look at the tests output and find the gstreamer part

            ILI Offline
            ILI Offline
            IL
            wrote on last edited by
            #5

            @SGaist - Hi again
            this is the test output

            GStreamer 1.0 auto-detection... ()
            arm-none-linux-gnueabi-g++ -c -pipe -pipe -Os -mthumb -g -march=armv7-a -mfpu=vfp -mcpu=cortex-a8 -O2 -pthread -pthread -pthread -pthread -pthread -Wall -W -fPIC -I. -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../../../mkspecs/devices/arm-none-linux-gnueabi -o gstreamer.o gstreamer.cpp
            cc1plus: warning: include location "/usr/include/gstreamer-1.0" is unsafe for cross-compilation
            cc1plus: warning: include location "/usr/include/glib-2.0" is unsafe for cross-compilation
            arm-none-linux-gnueabi-g++ -Wl,-O1 -o gstreamer gstreamer.o -lrt -lgstaudio-1.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstpbutils-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0
            GStreamer 1.0 enabled.

            looks like my cross compiling taking files from the wrong location for gstremer.
            is there any enviorenment flags for outside packages that i need to set for cross compiling?
            like ZLIB_LIBS, ZLIB_CFLAGS, ORC_LIBS, GST_CFLAGS etc...

            Best regards,
            IL

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

              What's your configuration line ?

              Surprisingly It says GStreamer is enabled

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

              ILI 1 Reply Last reply
              0
              • SGaistS SGaist

                What's your configuration line ?

                Surprisingly It says GStreamer is enabled

                ILI Offline
                ILI Offline
                IL
                wrote on last edited by
                #7

                @SGaist - Right, but when compilation is running, it recheck for gstreamer and decide to not compile it.
                As I mention above, this line is from compilation
                "checking for gstreamer... no"

                thanks

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

                  What version of Qt is it ? GStreamer 1.0 support is pretty recent so you might have to enable it when configuring depending on your Qt version

                  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

                  • Login

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