Building Qt plugin for embedded (i.MX6)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Building Qt plugin for embedded (i.MX6)

Jon Evans
Hello,

I am excited about the new QML video sink in 1.6, and quickly made a little test app that compiles fine on Linux desktop.
My ultimate target is an i.MX6 device running Boot2Qt / Qt 5.5.  I am using Yocto to build GStreamer.
This has GLES2 and rendering is via the EGLFS plugin (so no X11 or Wayland)

When I try to build gst-plugins-bad, the configure script does not enable the Qt plugin due to:
configure: WARNING: Could not find any Qt Windowing integration

Digging into the configure script a bit, it looks like it is not picking up on the fact that I want to use EGL, and is then checking for X11 and Wayland and failing to find either of those.

I am going to keep digging around to see if I can figure out why it's not picking up EGL, but I thought I would ask here in parallel -- has anyone successfully built the new Qt plugin in a similar cross-compile EGL environment?  Any pointers?

Thanks,
Jon

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building Qt plugin for embedded (i.MX6)

Sebastian Dröge-3
On Di, 2015-10-27 at 11:45 -0400, Jon Evans wrote:

> Hello,
>
> I am excited about the new QML video sink in 1.6, and quickly made a
> little test app that compiles fine on Linux desktop.
> My ultimate target is an i.MX6 device running Boot2Qt / Qt 5.5.  I am
> using Yocto to build GStreamer.
> This has GLES2 and rendering is via the EGLFS plugin (so no X11 or
> Wayland)
>
> When I try to build gst-plugins-bad, the configure script does not
> enable the Qt plugin due to:
> configure: WARNING: Could not find any Qt Windowing integration
>
> Digging into the configure script a bit, it looks like it is not
> picking up on the fact that I want to use EGL, and is then checking
> for X11 and Wayland and failing to find either of those.
>
> I am going to keep digging around to see if I can figure out why it's
> not picking up EGL, but I thought I would ask here in parallel -- has
> anyone successfully built the new Qt plugin in a similar cross-
> compile EGL environment?  Any pointers?
Currently there's only EGL support implemented in the Qt plugin for
Android and Wayland. You'll have to implement something for EGLFS here.

Take a look at the commits that added Android support, shouldn't
require too many additions.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Building Qt plugin for embedded (i.MX6)

Jon Evans
Thank you for the pointers, Sebastian.  I have hacked together something based on the Android EGL support, and have the new QMLGlSink working on my target device!
I need to clean things up a bit but this is a promising start.

On Tue, Oct 27, 2015 at 11:57 AM, Sebastian Dröge <[hidden email]> wrote:
On Di, 2015-10-27 at 11:45 -0400, Jon Evans wrote:
> Hello,
>
> I am excited about the new QML video sink in 1.6, and quickly made a
> little test app that compiles fine on Linux desktop.
> My ultimate target is an i.MX6 device running Boot2Qt / Qt 5.5.  I am
> using Yocto to build GStreamer.
> This has GLES2 and rendering is via the EGLFS plugin (so no X11 or
> Wayland)
>
> When I try to build gst-plugins-bad, the configure script does not
> enable the Qt plugin due to:
> configure: WARNING: Could not find any Qt Windowing integration
>
> Digging into the configure script a bit, it looks like it is not
> picking up on the fact that I want to use EGL, and is then checking
> for X11 and Wayland and failing to find either of those.
>
> I am going to keep digging around to see if I can figure out why it's
> not picking up EGL, but I thought I would ask here in parallel -- has
> anyone successfully built the new Qt plugin in a similar cross-
> compile EGL environment?  Any pointers?

Currently there's only EGL support implemented in the Qt plugin for
Android and Wayland. You'll have to implement something for EGLFS here.

Take a look at the commits that added Android support, shouldn't
require too many additions.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
jay
Reply | Threaded
Open this post in threaded view
|

Re: Building Qt plugin for embedded (i.MX6)

jay
Hi Jason
I too observed the same issue you mentioned. Please let me know changes to be done for EGLFS for QMLGlSink to work on target.