GStreamer feature
-
Hi,
I am using QT 5.15.11
and I try to configure it to support GStreamer.
and I get this error:ERROR: Feature 'gstreamer' was enabled, but the pre-condition 'features.gstreamer_1_0 || features.gstreamer_0_10' failed.
here is my configuration file:
#!/bin/bash
/opt/Qt/5.15.11/Src/configure
-prefix /usr/local/qt5
-extprefix ~/imx6/qt5
-device linux-imx6-g++
-device-option CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-
-sysroot ~/vpe430_sys/linux_system/racine/rootfs
-opensource
-confirm-license
-no-opengl
-linuxfb
-qpa linuxfb
-skip qtnetworkauth -skip qt3d -skip activeqt
-skip qtandroidextras -skip qtcanvas3d -skip qtcharts
-skip qtconnectivity -skip qtdatavis3d -skip qtgamepad
-skip qtlocation -skip macextras -skip qtremoteobjects
-skip qtscript -skip qtscxml -skip qtserialbus
-skip qtspeech -skip qttools -skip qttranslations
-skip qtvirtualkeyboard -skip wayland -skip qtwebchannel
-skip qtwinextras -skip qtx11extras -skip qtxmlpatterns
-skip qtwebengine -skip qtwebsockets -skip qtwebview
-gstreamer 1.0
-nomake examples
-nomake tests
-v
I also installed gstream in my system:
gst-launch-1.0 --version
gst-launch-1.0 version 1.14.4
GStreamer 1.6.3
http://packages.qa.debian.org/gstreamer1.0what can I do to fix this and support GStreamer?
thanks,
-
Hi,
Did you install the GStreamer development package ?
-
Hello and thank you for response!
yes, I did.
here you can see:$ dpkg -l | grep libgstreamer1.0-dev
ii libgstreamer1.0-dev:amd64 1.14.4-1 amd64 GStreamer core development files
ii libgstreamer1.0-dev:armhf 1.14.4-1 armhf GStreamer core development files$ dpkg -l | grep libgstreamer-plugins-base1.0-dev
ii libgstreamer-plugins-base1.0-dev:amd64 1.14.4-2+deb10u2 amd64 GStreamer development files for libraries from the "base" set
ii libgstreamer-plugins-base1.0-dev:armhf 1.14.4-2+deb10u2 armhf GStreamer development files for libraries from the "base" setalso the headers files:
$ ls /usr/include/gstreamer-1.0/gst/gst.h
/usr/include/gstreamer-1.0/gst/gst.h
$ ls /usr/include/gstreamer-1.0/gst/gstplugin.h
/usr/include/gstreamer-1.0/gst/gstplugin.h
-
Then check in the configuration logs what exactly made the detection fail.
-
@SGaist Hi,
It looks like when I configure it, there are some errors, like:fatal error: AL/al.h: No such file or directory
#include <AL/al.h>
^~~~~~~~~
compilation terminated.But I do have AL installed.
Also:
fatal error: alsa/asoundlib.h: No such file or directory
#include <alsa/asoundlib.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.fatal error: assimp/cimport.h: No such file or directory
#include <assimp/cimport.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.Could these errors affect gstreamer?
thanks
-
@MichalF
also this error:
Trying source 0 (type pkgConfig) of library gstreamer_1_0 ...
pkg-config use disabled globally.
=> source produced no result.
Trying source 1 (type inline) of library gstreamer_1_0 ...
=> source failed condition 'config.win32 || config.macos'.
Trying source 2 (type inline) of library gstreamer_1_0 ...
=> source failed condition 'config.android && input.gstreamer != '''.
test config.qtmultimedia_multimedia.libraries.gstreamer_1_0 FAILED -
This is the error of interest.
Did you nuke the build folder after installing the dev packages and before calling configure ?
-
Ok, what I would do is to build the Qt Multimedia module independently, in a different folder, no need to rebuild the whole of Qt.
-
The same way you would build a classic CMake based project. You can use the
qt-cmake
wrapper to help set things up.