GstStartup: Remove macOS libsoup workarounds

This commit is contained in:
Jonas Kvinge 2023-10-21 03:05:04 +02:00
parent ab6a0ed6dd
commit 9211b6f0c0
1 changed files with 0 additions and 17 deletions

View File

@ -112,13 +112,6 @@ void GstStartup::SetEnvironment() {
const QString app_path = QCoreApplication::applicationDirPath();
// Set DYLD_FALLBACK_LIBRARY_PATH - Needed by gstsouploader on macOS.
#ifdef Q_OS_MACOS
const QString library_path = QDir::cleanPath(app_path + "/../Frameworks");
qLog(Debug) << "Setting DYLD_FALLBACK_LIBRARY_PATH to" << library_path;
Utilities::SetEnv("DYLD_FALLBACK_LIBRARY_PATH", library_path);
#endif
// Set plugin root path
QString plugin_root_path;
# if defined(Q_OS_MACOS)
@ -187,14 +180,4 @@ void GstStartup::SetEnvironment() {
Utilities::SetEnv("GST_REGISTRY", gst_registry_filename);
#endif
#ifdef Q_OS_MACOS
const QString libsoup_library_path = QDir::cleanPath(app_path + "/../Frameworks/libsoup-3.0.0.dylib");
if (QFile::exists(libsoup_library_path)) {
Utilities::SetEnv("LIBSOUP3_LIBRARY_PATH", libsoup_library_path);
}
else {
qLog(Debug) << "libsoup library" << libsoup_library_path << "does not exist.";
}
#endif
}