Why qt config can't detect gstreamer sources?
-
Hi. I'm trying to build qt from and cross-compile it (qt-everywhere-src-5.11.2) for arm (from Linux Mint 18.3 x64) with gstreamer support. I have already installed packages libgstreamer1.0-dev, libgstreamer0.10, etc:
But configuration process was failed:$./configure -v -opensource -confirm-license -device imx6 -device-option CROSS_COMPILE=arm-linux-gnueabihf- -make libs -nomake examples -nomake tests -no-pch -no-xcb -no-egl -no-opengl -skip wayland -skip qtwebview -skip qtwebengine -skip qtwebchannel -no-qml-debug -gstreamer -prefix ../$QtDir
output:
... Qt Multimedia: ALSA ................................... no GStreamer 1.0 .......................... no GStreamer 0.10 ......................... no Video for Linux ........................ yes OpenAL ................................. no PulseAudio ............................. no Resource Policy (libresourceqt5) ....... no Windows Audio Services ................. no DirectShow ............................. no Windows Media Foundation ............... no Note: Also available for Linux: linux-clang linux-icc ERROR: Feature 'gstreamer' was enabled, but the pre-condition 'features.gstreamer_1_0 || features.gstreamer_0_10' failed.
I found some post/questions with similar problems, but I didn't find any solution :(
What I'm doing wrong?
Thanks! -
Run configure with verbose flag to see the issue in more detail.
-
Looks like it is trying to get GStreamer through pkconfig. Perhaps it would work if you specified libs and includes for GStreamer manually, I don't know.
-
Looks like it is trying to get GStreamer through pkconfig. Perhaps it would work if you specified libs and includes for GStreamer manually, I don't know.
-
Hi,
Might be a silly question but do you have pkg-config installed ?
-
Wait... You are cross-compiling... Do you have gstreamer for your target's architecture ?