Qmlglsink crashes when not used from main class
Unsolved
QML and Qt Quick
-
Qmlglsink example i.e creating gstreamer pipeline in main class and adding widget as properties to qmlglsink works well.
But when I try to create pipeline from other qml file via custom Object call it fails stating "could not initialize window system qmlglsink". I have created global qmlengine which is accessed in custom method and I am able to access the widget by object name correctly. Even then pipeline cannot start and ends up in error.
Please guide me through. -
@itsgauravdas Without code I doubt anybody can tell you what is wrong