QtGStreamer in Qt5

George Kiagiadakis kiagiadakis.george at gmail.com
Mon Jul 15 03:47:07 PDT 2013


On Mon, Jul 15, 2013 at 1:41 PM, Marco Trapanese
<marcotrapanese at gmail.com> wrote:
> 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
>

This is also wrong. Try:

CONFIG += link_pkgconfig
PKGCONFIG += Qt5GStreamer-0.10 Qt5GStreamerUi-0.10

and don't forget to export
PKG_CONFIG_PATH=/home/marco/Development/qt-gstreamer-0.10.2.2/lib/i386-linux-gnu/pkgconfig/
in your environment.

See also http://gstreamer.freedesktop.org/data/doc/gstreamer/head/qt-gstreamer/html/build_system_integration.html


More information about the gstreamer-devel mailing list