QtGStreamer 0.10 and Qt 5.5, Qml

FGuggemos FGuggemos at idexcorp.com
Tue Sep 22 02:22:04 PDT 2015


Hello everyone!

We have a project where we use QML for our GUI and QtGStreamer 1.2 to
display a RTSP-Stream. This works great and without problems.

Now, one of our project partners has made some changes that require us to
switch to gstreamer 0.10, and with it to QtGStreamer 0.10. 
I compiled QtGstreamer 0.10 form source against Qt5.5, which worked fine.
But using it we discovered two big errors/problems:

1. Quick::VideoSurface vs GraphicsVideoSurface:
With QtGstreamer 1.2 it was very easy:
 > QGst::Quick::VideoSurface *surface = new QGst::Quick::VideoSurface;
After this, just adding the surface as a contextProperty worked.
In QtGStreamer 0.10 I have to do this:
> QGst::Ui::GraphicsVideoSurface *surface = new
> QGst::Ui::GraphicsVideoSurface(new QGraphicsView);

As we use QQmlApplicationEngine and not QDeclarativeView (that is no longer
supported in Qt5.5 - and QQuickView is no longer based on QGraphicsView), I
actually have no clue how to build the surface - the new QGrapicsView is
only there for the sake of compilation.

2. Qt seems to do not find the plugin created by my compilation. When
importing QtGstreamer 0.10
("import QtGStreamer 0.10" in the qml file) it throws me the following
error: 
"plugin connao be loaded for module "QtGStreamer": Module loaded for URI ''
does not implement QQmlTypesExtensionInterface"

So, my big question is: 
Is there a way to use QtGStreamer 0.10 with Qml in Qt 5.5? And if yes, how
can I achieve it?

Thanks in advance!

Best Regards,
Florian





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/QtGStreamer-0-10-and-Qt-5-5-Qml-tp4673772.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list