From fcd2d8531f7a6b57671d147f1e146d0d541137a2 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Mon, 31 Jul 2023 14:00:58 +0530 Subject: [PATCH] data: Add qt framework path to macOS native file This can be required when pkgconfig is used to pick up Qt, which is not true for gstreamer, but may be true for other subprojects. Part-of: --- data/machine-files/macos-native-file.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/machine-files/macos-native-file.ini b/data/machine-files/macos-native-file.ini index cb857bd234..2d71203005 100644 --- a/data/machine-files/macos-native-file.ini +++ b/data/machine-files/macos-native-file.ini @@ -1,8 +1,8 @@ [constants] macosx_sdk = '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk' macosx_minver = '10.13' -common_args = ['--sysroot=' + macosx_sdk, '-mmacosx-version-min=' + macosx_minver, '-F' + macosx_sdk / 'System/Library/Frameworks'] qt_prefix = HOME_DIR / 'Qt/5.15.2/clang_64' +common_args = ['--sysroot=' + macosx_sdk, '-mmacosx-version-min=' + macosx_minver, '-F' + macosx_sdk / 'System/Library/Frameworks', '-F' + qt_prefix / 'lib'] # Uncomment for x86 macs: #homebrew_prefix = '/usr/local' # Uncomment for arm64 macs: @@ -28,7 +28,7 @@ libnice = 'enabled' tls = 'enabled' introspection = 'disabled' python = 'disabled' -qt5 = 'disabled' +qt5 = 'enabled' [gst-plugins-base:project options] gl = 'enabled'