qt5base-lts/tests/auto/corelib/kernel/kernel.pro
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

42 lines
807 B
Prolog

TEMPLATE=subdirs
SUBDIRS=\
qcoreapplication \
qeventdispatcher \
qeventloop \
qmath \
qmetaobject \
qmetaobjectbuilder \
qmetamethod \
qmetaproperty \
qmetatype \
qmetaenum \
qmimedata \
qobject \
qpointer \
qsharedmemory \
qsignalblocker \
qsignalmapper \
qsocketnotifier \
qsystemsemaphore \
qtimer \
qtranslator \
qvariant \
qwineventnotifier
!qtHaveModule(gui): SUBDIRS -= \
qmimedata
!qtHaveModule(network): SUBDIRS -= \
qeventloop \
qobject \
qsocketnotifier
!contains(QT_CONFIG, private_tests): SUBDIRS -= \
qsocketnotifier \
qsharedmemory
# This test is only applicable on Windows
!win32*|winrt: SUBDIRS -= qwineventnotifier
android|uikit: SUBDIRS -= qsharedmemory qsystemsemaphore