GNOME Bugzilla – Bug 787430
qmlglsink build fails on Windows in QtCreator
Last modified: 2018-08-30 11:08:25 UTC
Created attachment 359389 [details] [review] qmlglsink patch for windows Building the qmlglsink element under windows with QtCreator fails because of several issues. Patch to fix it is attached but only works for the sink element.
Comment on attachment 359389 [details] [review] qmlglsink patch for windows The patch does not apply to latest GIT master, and GIT doesn't like it because of the broken author field either.
Created attachment 359523 [details] [review] patch for master I hope this patch works.
Review of attachment 359523 [details] [review]: ::: ext/qt/gstplugin.cc @@ +35,3 @@ } +#ifndef HAVE_QT_WIN32 Is there any particular difficulty with porting the src? ::: ext/qt/gstqtglutility.cc @@ +240,3 @@ gst_object_unref (window); if (!gst_gl_context_create (*context, *wrap_glcontext, &error)) { + GST_ERROR ("failed to create shared GL context: %s", error->message); Why can't "this" not be printed with %p?
There was no reference to "this", so I changed the parameters like in line 202.
Indeed. What about the difficulty to port the source? It seems like there is nothing platform specific at all in there?
I believe this has been fixed in various stages over the last year.