user1335880
user1335880

Reputation: 81

Play video using GStreamer

I am trying to build a projet for playing video using Gstreamer on linux embedded system from How to play video in Qt on MeeGo using GStreamer I have the Gstreamer package on my device(I can run video with gstreamer commands from shell), but when I try to compile the project it failed because of the lines :

CONFIG += link_pkgconfig
PKGCONFIG += gstreamer-0.10 gstreamer-interfaces-0.10
in the .pro file

The output error:

 Project ERROR: Package gstreamer-0.10 not found
 make: *** [Makefile] Error 2

Any idea how to use link_pkgconfig correctly?

Upvotes: 1

Views: 1570

Answers (2)

Gobikrishnan R
Gobikrishnan R

Reputation: 29

you can use like this also in the LDFLAG

`pkg-config --cflags --libs gstreamer-1.0`

Thanks

Upvotes: 0

sashoalm
sashoalm

Reputation: 79457

When you need to link to a library, you need the development packages, those are the ones ending in -dev. Try installing libgstreamer0.10-dev.

Upvotes: 2

Related Questions