How to decrease the size of module
I deploy the app developed by qml to mobile and the size is so large. After investigation, I find the size of each of quick, core, gui and qml is more than 3M. I want to decrease the size of module as far as possible. Anyone has any idea?
Hi and welcome to devnet,
You can re-build Qt with all unneeded features disabled that may save you some trouble
@SGaist ,Yes, I have done that. But it can't meet my need. What I need is total size of all these modules are less than 10M.
What are you needing exactly ?
I have the same problem with you, the ipa or apk is too big for my users. And as I know, some developers turned to choose xarmarin because of its smaller package. I hope Qt to provide a tool to reconfigure features and re-build it for smaller size.
What features did you kept in that module `
@SGaist , I disable these features as following. I don't know what else I can do. Do you have any ideas?
You can also take a look at qfeatures.txt to see everything you can disable to make Qt smaller.