From 449204f8c0d6679ae0e58dbb8a30b8a86fbdb4ec Mon Sep 17 00:00:00 2001 From: Gabriel de Dietrich Date: Fri, 9 Dec 2016 17:07:08 -0800 Subject: [PATCH] CoreText Font DB: Link to AppKit instead of ApplicationServices This solves link errors with font support in the minimal QPA plugin. Change-Id: Id05128e1d752b974621d7035f1e886e75aa004f0 Reviewed-by: Jake Petroules --- src/platformsupport/fontdatabases/mac/coretext.pri | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/platformsupport/fontdatabases/mac/coretext.pri b/src/platformsupport/fontdatabases/mac/coretext.pri index df53f56933..06f1971696 100644 --- a/src/platformsupport/fontdatabases/mac/coretext.pri +++ b/src/platformsupport/fontdatabases/mac/coretext.pri @@ -11,9 +11,8 @@ uikit: \ # On iOS/tvOS/watchOS CoreText and CoreGraphics are stand-alone frameworks LIBS_PRIVATE += -framework CoreText -framework CoreGraphics else: \ - # On Mac OS they are part of the ApplicationServices umbrella framework, - # even in 10.8 where they were also made available stand-alone. - LIBS_PRIVATE += -framework ApplicationServices + # On macOS they are re-exported by the AppKit framework + LIBS_PRIVATE += -framework AppKit # CoreText is documented to be available on watchOS, but the headers aren't present # in the watchOS Simulator SDK like they are supposed to be. Work around the problem