I'm studying QML technology now.
To take a look of Qt Quick Controls, i've opened the Qt Quick Controls Gallery example from the Qt Creator. Then i examine the qmake's output directory...
In release build mode i've got ~40 Mb application bundle!
And the main "weight" into it has the executable file. Not the resources, as it usually occurs.
It is dangerously close to Apple AppStore 60 Mb for each executable limit :( (see here)
My own application will use many 3rd-party libraries, so it can easily exceeds it.
Any ideas how i can "shrink" the executable size?
Qt Modules used:
QT += qml
QT += quick
QT += widgets
QT += network
QT += xml
QT += svg
iOS-specific qmake
stuff:
ios {
TARGET = MyApp
QMAKE_IOS_DEPLOYMENT_TARGET = 6.0
CONFIG += console
QMAKE_INFO_PLIST = ios/MyApp.plist
...
OBJECTIVE_SOURCES += ../ios/nativestuff.mm
LIBS += -framework UIKit
}
P.S.: i already ensured what debug information was disabled, and "strip all symbols" - enabled in XCode. However, looks like Qt libraries itself have huge size. I've already recompiled Qt for Windows to get rid of fat ICU, but under iOS i don't know the reason why it is so big.
P.P.S. I used Qt 5.5.1, i was unable to download new 5.6 one. Maybe in this version libs are smaller?