diff options
Diffstat (limited to 'src/platformsupport/fontdatabases')
-rw-r--r-- | src/platformsupport/fontdatabases/mac/coretext.pri | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/platformsupport/fontdatabases/mac/coretext.pri b/src/platformsupport/fontdatabases/mac/coretext.pri index a533234c26..2a9b32f65a 100644 --- a/src/platformsupport/fontdatabases/mac/coretext.pri +++ b/src/platformsupport/fontdatabases/mac/coretext.pri @@ -7,12 +7,16 @@ qtConfig(freetype) { SOURCES += freetype/qfontengine_ft.cpp } -uikit: \ - # On iOS/tvOS/watchOS CoreText and CoreGraphics are stand-alone frameworks - LIBS_PRIVATE += -framework CoreText -framework CoreGraphics -else: \ - # On macOS they are re-exported by the AppKit framework +LIBS_PRIVATE += \ + -framework CoreFoundation \ + -framework CoreGraphics \ + -framework CoreText \ + -framework Foundation + +macos: \ LIBS_PRIVATE += -framework AppKit +else: \ + LIBS_PRIVATE += -framework UIKit # 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 |