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,
IL -
Hi,
Add -v to configure to see where the gstreamer test is failing. Probably not finding your cross-compiled gstreamer
-
You need to take a look at the tests output and find the gstreamer part
-
@SGaist - Hi again
this is the test outputGStreamer 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 -
What's your configuration line ?
Surprisingly It says GStreamer is enabled
-
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