QtGStreamer in Qt5

Marco Trapanese marcotrapanese at gmail.com
Mon Jul 15 03:41:28 PDT 2013


I didn't understand what it was asking for, indeed. I successfully compiled
with the right path.

The last question is: in the Qt project file I wrote the following:

INCLUDEPATH +=
/home/marco/Development/qt-gstreamer-0.10.2.2/include/Qt5GStreamer
CONFIG += link_pkgconfig
PKGCONFIG +=
/home/marco/Development/qt-gstreamer-0.10.2.2/lib/i386-linux-gnu/pkgconfig/Qt5GStreamer-0.10.pc
\

/home/marco/Development/qt-gstreamer-0.10.2.2/lib/i386-linux-gnu/pkgconfig/Qt5GStreamerUi-0.10.pc
\

/home/marco/Development/qt-gstreamer-0.10.2.2/lib/i386-linux-gnu/pkgconfig/Qt5GLib-2.0.pc
\

/home/marco/Development/qt-gstreamer-0.10.2.2/lib/i386-linux-gnu/pkgconfig/Qt5GStreamerUtils-0.10.pc

but the linker cannot find the reference for the QGst functions:

undefined reference to QGst::Element::currentState()
undefined reference to QGst::Element::SeekEvent::create()
undefined reference to QGst::Element::DurationQuery::create()

and so on.
Shouldn't the packages take care of including the required libs?
I checked those files and all paths seems ok.

What should I do to investigate further now?



2013/7/15 George Kiagiadakis <kiagiadakis.george at gmail.com>

> On Mon, Jul 15, 2013 at 11:56 AM, Marco Trapanese
> <marcotrapanese at gmail.com> wrote:
> > I'm trying the pre 0.10.2.2. I have the Qt5.1.0 installed in
> > /home/marco/Development/Qt5.1.0 so I issue the following command from the
> > build directory:
> >
> > cmake ..
> > -DCMAKE_INSTALL_PREFIX=/home/marco/Development/qt-gstreamer-0.10.2.2
> > -DQT_VERSION=5 -DQTGSTREMER_STATIC=OFF -DQTGSTREAMER_EXAMPLES=ON
> > -DUSE_GST_PLUGIN_DIR=OFF -DUSE_QT_PLUGIN_DIR=OFF
> > -DCMAKE_PREFIX_PATH=/home/marco/Development/Qt5.1.0/5.1.0/gcc/lib/
> >
> > but the first error is it cannot find the Qt5 installation dir and it
> > suggests me to set the CMAKE_PREFIX_PATH to the Qt5Core directory.
> >
> > I double checked the path and it's correct. Am I missing some thing
> obvious?
> >
>
> This doesn't look like a correct path. The path should contain
> lib/cmake/Qt5Core/ under it, so I guess the correct one is
> -DCMAKE_PREFIX_PATH=/home/marco/Development/Qt5.1.0/5.1.0/gcc
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130715/0fd8093a/attachment-0001.html>


More information about the gstreamer-devel mailing list