<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">El 22/10/2013 14:25, diego escribió:<br>
</div>
<blockquote cite="mid:52666E9F.5030208@horus.es" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">El 21/10/2013 16:45, diego escribió:<br>
</div>
<blockquote cite="mid:52653E1B.3010904@horus.es" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">El 21/10/2013 14:10, George
Kiagiadakis escribió:<br>
</div>
<blockquote
cite="mid:CAFPG5s=b3KV-en8TkcWD1zBrAonwPn97+sYC+Y-cnzpKgwA2qQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Mon, Oct 21, 2013 at 1:00 PM,
Diego Gonzalez <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:diego.gonzalez@horus.es"
target="_blank">diego.gonzalez@horus.es</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb">
<div class="h5">
<div
style="font-size:10pt;font-family:Arial;background-image:none;background-repeat:repeat"><br>
Hello,<br>
<br>
I just builded and installed QTgstreamer lib.
However, when I try to compile the example <a
moz-do-not-send="true"
href="http://player.pro" target="_blank">player.pro</a>
I get this error:<br>
<br>
<p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span
style="color:#1414be">Starting:
"/usr/bin/make" </span></p>
<p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span
style="color:#be1414">make: *** No rule to
make target `../../../examples/player/<a
moz-do-not-send="true"
href="http://player.pro" target="_blank">player.pro</a>',
needed by `Makefile'. Stop.</span></p>
<p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span
style="font-weight:600;color:#be1414">The
process "/usr/bin/make" exited with code 2.</span></p>
<p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span
style="color:#be1414">Error while
building/deploying project player (kit:
Desktop)</span></p>
<p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span
style="color:#be1414">When executing step
'Make'</span></p>
<p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br>
<span style="color:#be1414"></span></p>
<p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span
style="color:#be1414"><br>
</span></p>
I'm using QT 4.8.5. Can anyone help me?<br>
<br>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>This sounds like a qmake bug or something like
that. Maybe you just need to compile it in-source.<br>
</div>
</div>
</div>
</div>
</blockquote>
Sorry, I don't understand what do you mean with "compile it
in-source".<br>
<blockquote
cite="mid:CAFPG5s=b3KV-en8TkcWD1zBrAonwPn97+sYC+Y-cnzpKgwA2qQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>But, if you have compiled qt-gstreamer from source,
then the examples should also be already compiled in
the source tree.<br>
</div>
</div>
</div>
</div>
</blockquote>
I have followed QTGStreamer Readme intructions:<br>
<br>
$ mkdir build && cd build<br>
$ cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/installation/prefix<br>
$ make<br>
$ make install<br>
<br>
making prefix = /usr/local/TrollTech/Qt-4.8.5<br>
<br>
I think the previous message came from installation problems (we
tried several times and corrupted it, it seems). We deleted all
and reinstalled. Now we get:<br>
<br>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" color:#1414be;">Starting:
"/usr/local/Trolltech/Qt-4.8.5/bin/qmake"
/home/horus/qt-gstreamer-0.10.3/examples/voip/voip.pro -r
-spec linux-g++ CONFIG+=debug CONFIG+=declarative_debug</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" color:#be1414;">Project ERROR: Package
QtGStreamerkkk-0.10 not found</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" font-weight:600; color:#be1414;">The process
"/usr/local/Trolltech/Qt-4.8.5/bin/qmake" exited with code
2.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" color:#be1414;">Error while building/deploying
project voip (kit: Desktop)</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" color:#be1414;">When executing step 'qmake'</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span
style=" color:#1414be;">Elapsed time: 00:00.<br>
</span></p>
<br>
We find this file at
/usr/local/TrollTech/Qt-4.8.5/lib/i386-linux-gnu/pkconfig but
QTCreator can not find it.<br>
</blockquote>
<br>
Hello<br>
<br>
Still lost.<br>
<br>
We install the library in /usr/local changing the cmake step:<br>
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local<br>
<br>
Now I open the voip project and ... it finds <span style="
color:#be1414;">Package QtGStreamer-0.10</span> 8|<br>
But it fails because it did not find QGst/Ui/VideoWidget <br>
<br>
It is clear I don´t understand what the Qt directories structure
must be and how to use it. Any clue about where I can find a doc
about this?<br>
<br>
Thanks<br>
</blockquote>
<br>
Hello<br>
<br>
voip.pro (project file) is telling qmake to link to QTGstreamer
with:<br>
<br>
contains(QT_VERSION, ^4\\..*) {<br>
PKGCONFIG += QtGStreamer-0.10 QtGStreamerUi-0.10<br>
}<br>
<br>
I have verified that
/usr/local/lib/i386-linx-gnu/pkconfig/QtGStreamer-0.10.pc is the
file that QtCreator is using. I do not know why is using this file
and not the one at Trolltech directory.<br>
<br>
This file has inside this lines:<br>
<blockquote>prefix=/usr/local<br>
exec_prefix=${prefix}<br>
libdir=${prefix}/lib/i386-linux-gnu<br>
includedir=${prefix}/include/QtGStreamer<br>
<br>
Name: QtGStreamer-0.10<br>
Description: Qt-style C++ bindings library for GStreamer<br>
Requires: QtGLib-2.0<br>
Requires.private: gstreamer-0.10 gstreamer-interfaces-0.10
gobject-2.0<br>
Version: 0.10.3<br>
Cflags: -I${includedir}<br>
Libs: -L${libdir} -lQtGStreamer-0.10<br>
</blockquote>
Being a newbie, I did not found anything wrong with this file. In
fact, It seems to point to the installed files. But QtCreator fails
to compile the voip project because it does not find
QGst/Ui/VideoWidget.<br>
<br>
I searched PKGCONFIG at Qt web trying to find how it works but I am
not able to find where to learn that.<br>
<br>
Is it possible that PKGCONFIG is not linking rightly this
QtGStreamer-0.10.pc file?<br>
<br>
Thanks <br>
</body>
</html>