From 2091286fee023e4d2c367365d702798bc782ef42 Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Sun, 1 Dec 2024 03:33:09 +0100 Subject: [PATCH] make linux work again ;) --- app/videostreaming/gstreamer/gst_video.pri | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/videostreaming/gstreamer/gst_video.pri b/app/videostreaming/gstreamer/gst_video.pri index 635c7bcf8..9b4668420 100644 --- a/app/videostreaming/gstreamer/gst_video.pri +++ b/app/videostreaming/gstreamer/gst_video.pri @@ -76,7 +76,7 @@ android { } else { message("GStreamer prebuilt directory does not exist") } -} else { +} windows { # GStreamer configuration for non-Android platforms GST_ROOT = c:/gstreamer/1.0/x86_64 @@ -103,5 +103,9 @@ android { $$GST_ROOT/lib/gstreamer-1.0/include \ $$GST_ROOT/lib/glib-2.0/include - } + }else { + message(gst linux) + CONFIG += link_pkgconfig + PKGCONFIG += gstreamer-1.0 gstreamer-video-1.0 gstreamer-gl-1.0 gstreamer-app-1.0 #gstreamer1.0-plugins-good + }