From b9c77b968589fe9fd5c1dbfde60bfa0524a1f24f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Tue, 10 Jun 2025 07:26:19 -0700 Subject: [PATCH] macOS: Explicitly link the platform plugin to Foundation In the macOS 26 SDK the NSUserActivityTypeBrowsingWeb is claimed to come from both Foundation (as in earlier SDKS), as well as CoreServices. However the latter is not the case on macOS 15, resulting into load errors with missing symbol. By explicitly linking to Foundation, and putting it first in the framework list, we trigger the linker to use the right reference for the symbol. Reported upstream as FB17876148. Pick-to: 6.10 6.9 6.8 6.5 Change-Id: I0c3203f92851ad9fa862aed237823f0e1e28f6ff Reviewed-by: Alexandru Croitor --- src/plugins/platforms/cocoa/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/platforms/cocoa/CMakeLists.txt b/src/plugins/platforms/cocoa/CMakeLists.txt index cb77476585c..26f061b320a 100644 --- a/src/plugins/platforms/cocoa/CMakeLists.txt +++ b/src/plugins/platforms/cocoa/CMakeLists.txt @@ -48,6 +48,7 @@ qt_internal_add_plugin(QCocoaIntegrationPlugin DEFINES QT_NO_FOREACH LIBRARIES + ${FWFoundation} ${FWAppKit} ${FWCarbon} ${FWCoreServices}