How to incorporate qt-gstreamer into Qt?
Dear fellow coders,
i'm building Qt 5.7 sources to fit my embedded linux target device. My vendor-supplied SDK doesn't come with gstreamer. I've found some qt-gstreamer libraries online and would need some advice on how to incorporate qt-gstreamer into my Qt configure?
Do I cross-compile qt-gstreamer first using my cross-compiler? And how may I configure Qt configure to include gstreamer in my host Ubuntu PC?
Thanks!
Re: How to incorporate qt-gstreamer into Qt?
You will also need GStreamer itself, not just the Qt bindings.
Also I am not sure if Qt needs the Qt bindings, I think QtMultimedia uses GStreamer directly. The Qt bindings are for application developers who want to use GStreamer themselves.
In general, yes, you will need to cross-compile GStreamer and make sure it is then part of the sysroot for compiling Qt and the target image for finding it at runtime.
Cheers,
_
Re: How to incorporate qt-gstreamer into Qt?
so does it mean to say i'll first install gstreamer in Ubuntu, and then perform ./configure and add -gstreamer parameter?
Re: How to incorporate qt-gstreamer into Qt?
Whether you install GStreamer for the host system is irrelevant.
Cheers,
_
Re: How to incorporate qt-gstreamer into Qt?
actually i'm a little confused with sysroot, is it the filesystem of my target device itself?
Re: How to incorporate qt-gstreamer into Qt?
sysroot is a directory that has the same content as the device.
That can be a local copy or the device remotely mounted.
Cheers,
_