qt5base-lts/src
Tor Arne Vestbø 5c8aa27111 iOS: Remove need for separate qtiosmain library
We can combine the hybrid and non-hybrid use-cases into a single static
library if we are careful about which symbols are included in which
object files. By limiting the main() and qt_user_main() functions to
their own translation units, the linker will only pick them up if they
are missing at link time (the user's program do not provide them).

This technique is resilient to the -ObjC linker flag, which includes all
object files that implement an ObjectiveC class or category, but will
fail if the -all_load flag is passed to the linker, as we'll then have
duplicate symbols for either main() or qt_user_main(). The latter should
not happen unless the user provides the flag manually, and in the case
he or she does, there's ways to work around it by providing less global
flags such as -ObjC or -force_load.

Change-Id: Ie2f8e10a7265d007bf45cb1dd83f19cff0693551
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
2013-06-12 12:35:02 +02:00
..
3rdparty Fixed CE build of sqlite3 2013-05-23 12:49:39 +02:00
android Never show EGLFS mouse cursor in Qt for Android platform plugin 2013-05-20 12:06:48 +02:00
angle Add missing intrin.h include for __cpuid 2013-04-23 12:45:16 +02:00
concurrent Doc: Removed pages from "technology-apis" group. 2013-05-27 02:45:21 +02:00
corelib Add internal functions to QObjectPrivate for signal & slot connections in QML 2013-06-07 16:19:05 +02:00
dbus Doc: Removed pages from "technology-apis" group. 2013-05-27 02:45:21 +02:00
gui Expose QKeySequence::StandardKey for QQuickKeyEvent 2013-06-06 21:26:44 +02:00
network Merge remote-tracking branch 'origin/stable' into dev 2013-06-04 19:34:36 +02:00
opengl Fixed crashes in QGLTextureDestroyer. 2013-05-29 08:15:13 +02:00
openglextensions Make sure that we #include qconfig.h before testing for features. 2013-03-19 07:02:57 +01:00
platformsupport Merge remote-tracking branch 'origin/stable' into dev 2013-06-04 19:34:36 +02:00
plugins iOS: Remove need for separate qtiosmain library 2013-06-12 12:35:02 +02:00
printsupport Doc: Removed pages from "technology-apis" group. 2013-05-27 02:45:21 +02:00
sql Improve support for <MODULE>_PATH options 2013-05-10 19:39:53 +02:00
testlib QtTest: Output correct library name 2013-05-27 00:41:46 +02:00
tools Merge remote-tracking branch 'origin/stable' into dev 2013-06-04 19:34:36 +02:00
widgets Fix setPlaceholderText in QLineEdit 2013-06-11 15:08:47 +02:00
winmain fix path adjustments in installed metafiles 2013-01-30 15:43:00 +01:00
xml Doc: Removed pages from "technology-apis" group. 2013-05-27 02:45:21 +02:00
src.pro make bootstrapping of qdoc optional 2013-04-03 00:37:48 +02:00