From e4715874fca216e9c1ca2412e9d7e1a23f0c809e Mon Sep 17 00:00:00 2001 From: dogmaphobic Date: Wed, 8 Jul 2015 14:16:08 -0400 Subject: [PATCH] Third time has to be a charm... I didn't realize TC for Ubuntu had GStreamer installed. --- src/QGCApplication.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/QGCApplication.cc b/src/QGCApplication.cc index 7f8ada150..340c6a745 100644 --- a/src/QGCApplication.cc +++ b/src/QGCApplication.cc @@ -132,12 +132,16 @@ static QObject* mavManagerSingletonFactory(QQmlEngine*, QJSEngine*) } #if defined(QGC_GST_STREAMING) +#ifdef Q_OS_MAC +#ifndef __ios__ static void qgcputenv(const QString& key, const QString& root, const QString& path) { QString value = root + path; qputenv(key.toStdString().c_str(), QByteArray(value.toStdString().c_str())); } #endif +#endif +#endif /** * @brief Constructor for the main application. -- 2.22.0