Import Error when Integrating Qt and GStreamer.

Matthew Waters ystreet00 at
Tue Apr 6 00:30:26 UTC 2021


It sounds like you don't have the required qmlglsink GStreamer element 
available.  That is what provides the necessary GLVideoItem for Qt to 
use.  Instantiating the first qmlglsink is what registers the necessary 
Qt item for Qt to use as mentioned in the qmlsink example.  On Ubuntu 
20.10 you want the gstreamer1.0-qt5 package.

Then 'gst-inspect-1.0 qmlglsink' should output the element's details.

On 6/4/21 6:30 am, iotsystek wrote:
> Update: I have totally rebuilt my system trying to resolve this. Reinstalled
> Qt 5.15.2 using the online installer and GStreamer 1.18.0 following the
> instructions on the GStreamer website into an Ubuntu 20.10 PC. Both Qt and
> GStreamer are working as expected. I have been able to build and run any
> desired Qt Example without issue. I have also been able to compile and run
> any of the GStreamer tutorials as well as my own custom pipelines using C
> and gst-launch-1.0.
> The Error persists. I have no idea as to how to fix this.  I don’t know what
> kind of files QML imports look for.  Are there tools or utilities available
> that would help debug this?  Does someone have this working and could offer
> some suggestions.
> --
> Sent from:
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the gstreamer-devel mailing list