From 221b123e5d5bdfe5400621f3e4cb15d40158c0a5 Mon Sep 17 00:00:00 2001 From: Mike Krus Date: Fri, 17 Jun 2016 19:34:43 +0100 Subject: Fix tvOS build Replace Q_OS_IOS with QT_PLATFORM_UIKIT Change-Id: I98bbd549a3613fe474202af23ca0acb947601e2b Reviewed-by: Jake Petroules --- src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/platformsupport') diff --git a/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm b/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm index 971f0b0cce..251ba2b9ac 100644 --- a/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm +++ b/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm @@ -51,7 +51,7 @@ #import #endif -#if defined(Q_OS_IOS) && !QT_IOS_DEPLOYMENT_TARGET_BELOW(__IPHONE_8_2) +#if defined(QT_PLATFORM_UIKIT) && !QT_IOS_DEPLOYMENT_TARGET_BELOW(__IPHONE_8_2) #import #endif @@ -78,7 +78,7 @@ #define kCTFontWeightBold NSFontWeightBold #define kCTFontWeightHeavy NSFontWeightHeavy #define kCTFontWeightBlack NSFontWeightBlack -#elif defined(Q_OS_IOS) +#elif defined(QT_PLATFORM_UIKIT) #define kCTFontWeightUltraLight UIFontWeightUltraLight #define kCTFontWeightThin UIFontWeightThin #define kCTFontWeightLight UIFontWeightLight -- cgit v1.2.3