qt5base-lts/mkspecs/features/mac
Mike Krus 03e9c6f4a6 Add support for Apple tvOS
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>
2016-05-17 16:11:23 +00:00
..
unsupported Add tool to namespace Objective-C classes at link time 2016-01-29 14:41:21 +00:00
default_post.prf sanitize qt rpath handling, in particular on mac 2015-09-17 16:36:12 +00:00
default_pre.prf Make Xcode debug info format controllable through a qmake variable 2014-04-10 00:44:44 +02:00
objective_c.prf Distinguish between Objective-C and Objective-C++ sources 2015-10-09 15:15:17 +00:00
rez.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
sdk.prf Add support for Apple tvOS 2016-05-17 16:11:23 +00:00