Also, initialize gstreamermm in main().
list(APPEND PKGDEPS glib-2.0>=2.28.0)
list(APPEND PKGDEPS glibmm-2.4>=2.28.0)
+list(APPEND PKGDEPS gstreamermm-1.0>=1.8.0)
set(LIBSR_CXX_BINDING "libsigrokcxx>=0.5.1")
list(APPEND PKGDEPS "${LIBSR_CXX_BINDING}")
- cmake >= 2.8.12
- libglib >= 2.28.0
- glibmm-2.4 (>= 2.28.0)
+ - gstreamermm-1.0 (>= 1.8.0)
- Qt5 (including the following components):
- Qt5Core, Qt5Gui, Qt5Widgets, Qt5Svg
- libboost >= 1.55 (including the following libs):
#include <getopt.h>
#include <vector>
+#include <gstreamermm.h>
+
#include <libsigrokcxx/libsigrokcxx.hpp>
#include <QCheckBox>
bool do_scan = true;
bool show_version = false;
+ // Initialise gstreamermm. Must be called before any other GLib stuff.
+ Gst::init();
+
Application a(argc, argv);
#ifdef ANDROID