Commit e4715874 authored by dogmaphobic's avatar dogmaphobic

Third time has to be a charm...

I didn't realize TC for Ubuntu had GStreamer installed.
parent aefcd1cc
...@@ -132,12 +132,16 @@ static QObject* mavManagerSingletonFactory(QQmlEngine*, QJSEngine*) ...@@ -132,12 +132,16 @@ static QObject* mavManagerSingletonFactory(QQmlEngine*, QJSEngine*)
} }
#if defined(QGC_GST_STREAMING) #if defined(QGC_GST_STREAMING)
#ifdef Q_OS_MAC
#ifndef __ios__
static void qgcputenv(const QString& key, const QString& root, const QString& path) static void qgcputenv(const QString& key, const QString& root, const QString& path)
{ {
QString value = root + path; QString value = root + path;
qputenv(key.toStdString().c_str(), QByteArray(value.toStdString().c_str())); qputenv(key.toStdString().c_str(), QByteArray(value.toStdString().c_str()));
} }
#endif #endif
#endif
#endif
/** /**
* @brief Constructor for the main application. * @brief Constructor for the main application.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment