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 <jake.petroules@qt.io>
This commit is contained in:
Gabriel de Dietrich 2016-12-09 17:07:08 -08:00
parent 9ff34b3a08
commit 449204f8c0

View File

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