When deploying a Qt Android application, there are a lot of unneccessary libraries bundled with the apk making it really large.
In the resulting QtApp-debug.apk in lib/armeabi-v7a there are .so files bundled I do not use or need (or don't know what they're used for), such as:
libQt5QuickParticles.so 277,3 kiB (I don't use Quick particles at all)
libav*.so total ~3MiB (I don't use QtMultimedia)
libplugins_imageformats_libtiff.so 284,9 kiB (I don't use TIFF images, nor do I use GIF, ICO, MNG, TGA or WBMP)
libqml_Qt_labs_folderlistmodel_libqmlfolderlistmodelplugin.so (I don't use the folderlistmodel - it's used in some Qt examples though?)
Especially the unneeded image plugins really should not be there if not needed.
In total the apk is now around 12MiB in size (although I have also packaged quite a few 3rd party Android libs with it) and the installed size is 35MiB which is insane.
|For Gerrit Dashboard: QTBUG-38296|
|286137,2||Android: Don't include QtQuickParticles in the dependencies||5.14||qt/qtdeclarative||Status: MERGED||+2||0|