19#include "platformhandler.h"
21#include <QCoreApplication>
27namespace PlatformHandler
29 void configurePlatformSpecificSettings() {}
39 bool success = qputenv(
"GST_PLUGIN_SYSTEM_PATH_1_0",
40 QString(
"%1/usr/lib/gstreamer-1.0:%2")
43 success = qputenv(
"GST_PLUGIN_SCANNER_1_0",
44 QString(
"%1/usr/lib/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner")
45 .arg(appDir).toLocal8Bit()) && success;
48 qWarning() <<
"Unable to set up GStreamer environment";
52#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
57 if (settings.value(
"EnableHighDpiScaling",
"true").toBool())
void setAttribute(Qt::ApplicationAttribute attribute, bool on)
QString fromLocal8Bit(const char *str, int size)
bool isEmpty() const const