[Buildroot] RFC: gst1-plugins-good 1.14: enable-qt config option

Martin Kepplinger martin.kepplinger at ginzinger.com
Wed Mar 28 14:22:33 UTC 2018

TL;DR so far: How to configure in gstreamer-gl-1.0 ? see below.

On 2018-03-27 10:57, Martin Kepplinger wrote:
> So the goal here is to optionally get gst1-plugins-good's qt module to
> be built (and have the qmlglsink gstreamer element) with Qt and eglfs
> platform.
> (Keep in mind that the qt-module moved from plugins-bad to plugins-good
> during the 1.12 to 1.14 update):
> First, a config option for plugin-good's "qt" would be needed. here's
> some pseudo-code of what I mean, to make it clea:
>        bool "qt"
>        help
>          Qt plugin
> (...)
> GST1_PLUGINS_GOOD_CONF_OPTS += --enable-qt
> else
> GST1_PLUGINS_GOOD_CONF_OPTS += --disable-qt
> endif
> ------------------
> ok. let's ignore that for a second. instead I simply remove --disable-qt
> (or say --enable-qt) and build it *after* Qt for now. Then I get:
> configure: *** checking feature: Qt elements ***
> configure: *** for plug-ins: qt ***
> checking for QT... yes
> checking for moc-qt5... no
> checking for moc... /home/martin/dev/buildroot-2018.02/output/host/bin/moc
> checking for rcc-qt5... no
> checking for rcc... /home/martin/dev/buildroot-2018.02/output/host/bin/rcc
> checking for uic-qt5... no
> checking for uic... /home/martin/dev/buildroot-2018.02/output/host/bin/uic
> configure: Cannot find QPA
> configure: *** These plugins will not be built: qt

Alright. For --enable-qt we need, additionally to Qt (circa, not the
definitive answer):





We then additionally get from configure (along with "Cannot find QPA"
which doesnt matter now):

 configure: WARNING: Could not find any Qt Windowing integration

So HAVE_QT_WINDOWING is never set to yes, which means
GST_GL_HAVE_PLATFORM_EGL is not set to 1 :(

Well, this is set to 1, if the following string contains "egl":
 GST_GL_PLATFORMS=`$PKG_CONFIG --variable=gl_platforms gstreamer-gl-1.0`

So I indeed also find:

checking for GST_GL... no

configure: Package gstreamer-gl-1.0 was not found in the pkg-config
search path.
Perhaps you should add the directory containing `gstreamer-gl-1.0.pc'

to the PKG_CONFIG_PATH environment variable

Package 'gstreamer-gl-1.0', required by 'world', not found

So: How can I build this gstreamer-gl-1.0 library?

thanks for any hints,


More information about the buildroot mailing list