qt5base-lts/mkspecs/macx-ios-clang
Tor Arne Vestbø 32f34ddbe1 iOS: Wrap user's main by renaming symbol and relying on weak linking
This approach is similar to the earlier apprach of defining main=qt_main
when building the user's sources, but uses the linker to rename the
symbol instead, which is less fragile than using the preprocessor.

To keep the hybrid usecase unaffected by our wrapper logic we declare
both our main wrapper and a fallback qt_main as weak symbols, which
ensures that when the user's application links in our plugin the
real main/qt_main provided by the user is preferred over our weak
symbols.

Change-Id: Ic76f3ba8932430c4b13a1d3a40b8ed2322fe5eea
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
2013-10-17 13:26:28 +02:00
..
features iOS: Wrap user's main by renaming symbol and relying on weak linking 2013-10-17 13:26:28 +02:00
Info.plist.app Move iOS makespec out of unsupported directory 2013-09-12 12:29:33 +02:00
Info.plist.lib Move iOS makespec out of unsupported directory 2013-09-12 12:29:33 +02:00
qmake.conf Remove last traces of CoreServices/QT_NO_CORESERVICES on Mac 2013-10-11 18:49:25 +02:00
qplatformdefs.h Move iOS makespec out of unsupported directory 2013-09-12 12:29:33 +02:00