Fix tvOS build

Replace Q_OS_IOS with QT_PLATFORM_UIKIT

Change-Id: I98bbd549a3613fe474202af23ca0acb947601e2b
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
This commit is contained in:
Mike Krus 2016-06-17 19:34:43 +01:00
parent 2fa4a48ff6
commit 221b123e5d

View File

@ -51,7 +51,7 @@
#import <AppKit/AppKit.h> #import <AppKit/AppKit.h>
#endif #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 <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
@ -78,7 +78,7 @@
#define kCTFontWeightBold NSFontWeightBold #define kCTFontWeightBold NSFontWeightBold
#define kCTFontWeightHeavy NSFontWeightHeavy #define kCTFontWeightHeavy NSFontWeightHeavy
#define kCTFontWeightBlack NSFontWeightBlack #define kCTFontWeightBlack NSFontWeightBlack
#elif defined(Q_OS_IOS) #elif defined(QT_PLATFORM_UIKIT)
#define kCTFontWeightUltraLight UIFontWeightUltraLight #define kCTFontWeightUltraLight UIFontWeightUltraLight
#define kCTFontWeightThin UIFontWeightThin #define kCTFontWeightThin UIFontWeightThin
#define kCTFontWeightLight UIFontWeightLight #define kCTFontWeightLight UIFontWeightLight