From d0ae93771e3f0468644c8d86f97eb9ce0e2652e7 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 9 Feb 2024 11:13:16 +0530 Subject: [PATCH] meson: Don't use fs.copyfile() for qt6 resources Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3285 Part-of: --- subprojects/gst-plugins-good/ext/qt6/meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-good/ext/qt6/meson.build b/subprojects/gst-plugins-good/ext/qt6/meson.build index 8f5ec3637c..0601dfe5ee 100644 --- a/subprojects/gst-plugins-good/ext/qt6/meson.build +++ b/subprojects/gst-plugins-good/ext/qt6/meson.build @@ -30,7 +30,6 @@ qt6_egl = get_option('qt-egl') qt6_wayland = get_option('qt-wayland') qt6_x11 = get_option('qt-x11') qt6_method = get_option('qt-method') -fs = import('fs') if qt6_option.disabled() subdir_done() @@ -177,7 +176,7 @@ if qt6_option.require(have_qt_windowing, error_message: 'No windowing, enable on ) shaders += [compiled_shader] endforeach - resource_file = fs.copyfile('resources.qrc') + resource_file = configure_file(input: 'resources.qrc', output: 'resources.qrc', copy: true) qresources = qt6_mod.compile_resources(sources: resource_file, method: qt6_method) gstqml6gl = library('gstqml6', sources, moc_files, qresources,