Skip to content

Some fixes for the devenv on macOS

Nirbheek Chauhan requested to merge nirbheek/gstreamer:macos-devenv-rpath into main
meson: Add build_rpath for qt5 plugin on macOS

Without this, the plugin cannot be loaded in a devenv because the
RPATH is not added to the plugin dylib. This RPATH will be stripped on
install, which is what we want.

When deploying apps, people are supposed to use `macdeployqt` to
create an AppBundle that bundles Qt for you and sets the RPATHs
correctly to point to that bundled Qt.
gst-env.py: Output DYLD_LIBRARY_PATH with --only-environment on macOS

DYLD_LIBRARY_PATH is considered a security risk by Apple, so shells
filter it out, but we can set it when using --only-environment so
people can use it like so:

  eval $(./gst-env.py --only-environment)

This is currently the only way to build an app that links to gstreamer
inside the devenv on macOS and have it run properly.
gst-env.py: Output a setting for the prompt with --only-environment
Edited by Nirbheek Chauhan

Merge request reports