<div dir="ltr"><div><div><div><div><div><div>I didn't understand what it was asking for, indeed. I successfully compiled with the right path.<br><br></div>The last question is: in the Qt project file I wrote the following:<br>
<br>INCLUDEPATH += /home/marco/Development/qt-gstreamer-0.10.2.2/include/Qt5GStreamer<br>CONFIG += link_pkgconfig<br>PKGCONFIG += /home/marco/Development/qt-gstreamer-0.10.2.2/lib/i386-linux-gnu/pkgconfig/Qt5GStreamer-0.10.pc \<br>
    /home/marco/Development/qt-gstreamer-0.10.2.2/lib/i386-linux-gnu/pkgconfig/Qt5GStreamerUi-0.10.pc \<br>    /home/marco/Development/qt-gstreamer-0.10.2.2/lib/i386-linux-gnu/pkgconfig/Qt5GLib-2.0.pc \<br>    /home/marco/Development/qt-gstreamer-0.10.2.2/lib/i386-linux-gnu/pkgconfig/Qt5GStreamerUtils-0.10.pc<br>
<br></div>but the linker cannot find the reference for the QGst functions:<br><br></div>undefined reference to QGst::Element::currentState()<br>undefined reference to QGst::Element::SeekEvent::create()<br>
undefined reference to QGst::Element::DurationQuery::create()<br><br>and so on.<br></div>Shouldn't the packages take care of including the required libs?<br></div>I checked those files and all paths seems ok.<br><br>
</div>What should I do to investigate further now?<br><div><div><div>
<br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/15 George Kiagiadakis <span dir="ltr"><<a href="mailto:kiagiadakis.george@gmail.com" target="_blank">kiagiadakis.george@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Jul 15, 2013 at 11:56 AM, Marco Trapanese<br>
<<a href="mailto:marcotrapanese@gmail.com">marcotrapanese@gmail.com</a>> wrote:<br>
> I'm trying the pre 0.10.2.2. I have the Qt5.1.0 installed in<br>
> /home/marco/Development/Qt5.1.0 so I issue the following command from the<br>
> build directory:<br>
><br>
> cmake ..<br>
> -DCMAKE_INSTALL_PREFIX=/home/marco/Development/qt-gstreamer-0.10.2.2<br>
> -DQT_VERSION=5 -DQTGSTREMER_STATIC=OFF -DQTGSTREAMER_EXAMPLES=ON<br>
> -DUSE_GST_PLUGIN_DIR=OFF -DUSE_QT_PLUGIN_DIR=OFF<br>
> -DCMAKE_PREFIX_PATH=/home/marco/Development/Qt5.1.0/5.1.0/gcc/lib/<br>
><br>
> but the first error is it cannot find the Qt5 installation dir and it<br>
> suggests me to set the CMAKE_PREFIX_PATH to the Qt5Core directory.<br>
><br>
> I double checked the path and it's correct. Am I missing some thing obvious?<br>
><br>
<br>
This doesn't look like a correct path. The path should contain<br>
lib/cmake/Qt5Core/ under it, so I guess the correct one is<br>
-DCMAKE_PREFIX_PATH=/home/marco/Development/Qt5.1.0/5.1.0/gcc<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>
</blockquote></div><br></div>