03e9c6f4a6
Pass -xplatform macx-tvos-clang to configure to build. Builds device and simulator by default. Added ‘uikit’ platform with the common setup. Also added QT_PLATFORM_UIKIT define (undocumented). qmake config defines tvos (but not ios). tvOS is 64bits only (QT_ARCH is arm64) and requires bitcode to be embedded in the binary. A new ‘bitcode’ configuration was added. For ReleaseDevice builds (which get archived and push to the store), bitcode is actually embedded (-fembed-bitcode passed to clang). For all other configurations, only using bitcode markers to keep file size down (-fembed-bitcode-marker). Build disables Widgets in qtbase, and qtscript (unsupported, would require fixes to JavaScriptCore source code). Qpa same as on iOS but disables device orientation, status bar, clipboard, menus, dialogs which are not supported on tvOS. Change-Id: I645804fd933be0befddeeb43095a74d2c178b2ba Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
21 lines
472 B
Plaintext
21 lines
472 B
Plaintext
#
|
|
# qmake common configuration for iOS
|
|
#
|
|
|
|
QMAKE_PLATFORM += ios
|
|
QMAKE_MAC_SDK = iphoneos
|
|
|
|
simulator.sdk = iphonesimulator
|
|
simulator.target = simulator
|
|
simulator.dir_affix = $${simulator.sdk}
|
|
simulator.CONFIG = $${simulator.sdk}
|
|
simulator.deployment_identifier = ios-simulator
|
|
|
|
device.sdk = iphoneos
|
|
device.target = device
|
|
device.dir_affix = $${device.sdk}
|
|
device.CONFIG = $${device.sdk}
|
|
device.deployment_identifier = $${device.sdk}
|
|
|
|
include(uikit.conf)
|