meson: Don't use fs.copyfile() for qt6 resources

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3285

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6077>
This commit is contained in:
Nirbheek Chauhan 2024-02-09 11:13:16 +05:30
parent 847eac6e16
commit d0ae93771e

View file

@ -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,