QtGStreamer  1.2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Build system integration


If you are using cmake as your build system, using QtGStreamer is quite easy. You can just do:

find_package(QtGStreamer) # for Qt4 QtGStreamer
# ..... OR .....
find_package(Qt5GStreamer) # for Qt5 QtGStreamer

which will find QtGStreamer and define the following variables:

Take a look at the CMakeLists.txt of the QtGStreamer examples to see how to use them.


If you are using qmake as your build system, you can use QtGStreamer via pkg-config. For example:

CONFIG += link_pkgconfig
PKGCONFIG += QtGStreamer-1.0

In the PKGCONFIG variable you can set one or more of:

When QtGStreamer is built using Qt5, those packages are called differently:

And additionally in Qt5 there is:

Other build systems

If you are not using one of the above build systems, you could also use QtGStreamer via pkg-config, if your build system integrates with it.