QtMultimedia cross compiling libqgsttools.so is missing

  • 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,

  • Lifetime Qt Champion


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

  • @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"


  • Lifetime Qt Champion

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

  • @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?

    Best regards,

  • Lifetime Qt Champion

    What's your configuration line ?

    Surprisingly It says GStreamer is enabled

  • @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"


  • Lifetime Qt Champion

    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

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.