qt5base-lts/mkspecs/macx-ios-clang/features
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
..
default_post.prf iOS: Move qmake features out of the generic features and into the makespec 2013-10-14 17:28:48 +02:00
default_pre.prf iOS: Remove check for unknown Xcode versions 2013-10-14 17:28:54 +02:00
qt.prf iOS: Wrap user's main by renaming symbol and relying on weak linking 2013-10-17 13:26:28 +02:00