Before we close this thread permanently, I need one last help from you guys. <br><br>After successfully building Qt-Gstreamer on Windows I noticed that examples/player doesn't work right out of the box. Upon execution I get an error saying "Failed to start in pull mode", "Could not open resource for reading", "No URI set".<br>
<br>I found a thread on the mailing list from last month where a user had reported this issue but he forgot to mention how to do the fix:<br><a href="http://lists.freedesktop.org/archives/gstreamer-devel/2011-November/033919.html">http://lists.freedesktop.org/archives/gstreamer-devel/2011-November/033919.html</a><br>
<br>So, how can I fix this issue?<br><br>Thank you all<br>--<br>Karl Phillip<br><br><div class="gmail_quote">On Fri, Dec 16, 2011 at 11:02 PM, Maxphil <span dir="ltr"><<a href="mailto:maxphil@gmail.com">maxphil@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Fantastic!<br>
<br>
Thank you all.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 16/12/2011, at 22:30, George Kiagiadakis <<a href="mailto:kiagiadakis.george@gmail.com">kiagiadakis.george@gmail.com</a>> wrote:<br>
<br>
> On Fri, Dec 16, 2011 at 10:17 PM, Karl Phillip <<a href="mailto:maxphil@gmail.com">maxphil@gmail.com</a>> wrote:<br>
>> Actually, QtGstreamer is not referencing libxml directly.<br>
>><br>
>> The error happens because QtGstreamer is using gstreamer, which in turn is<br>
>> using libxml. So QtGstreamer finds gstreamer but not libxml headers.<br>
>><br>
>> I can't modify gstconfig.h since it belongs to gstreamer. There must be a<br>
>> way to tell QtGstreamer where to look for libxml. It's a shame that it is<br>
>> ignoring my request in CMAKE_INCLUDE_PATH.<br>
><br>
> No, you have to remove it from gstconfig.h. It's a bug in the<br>
> gstconfig.h shipped with ossbuild. The QtGStreamer build system was<br>
> based on the assumption that it is built on top of GStreamer >=<br>
> 0.10.31 which has an updated gstconfig.h that doesn't require libxml.<br>
><br>
> Fyi, CMAKE_INCLUDE_PATH is not added to the compiler command line. It<br>
> is used as a hint for find_file() cmake calls. If you really really<br>
> want to fix this in QtGStreamer instead of just updating your<br>
> gstconfig.h, you need to add a FindLibXml2.cmake file, use<br>
> find_package(LibXml2) in the top level CMakeLists.txt and add the<br>
> found include path in the compiler include path with the<br>
> include_directories() call.<br>
><br>
> Regards,<br>
> George<br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br>