deploy on mac with macdeploytq -app to big
I’m tring to deploy with the macdeployqt tool, but the app increased from 850K to 40Mb.
To reduce the size I’m tring to rebuild Qt in release mode. The docs say to do a
make confclean and them configure. But with make confclean I get errors
- "make: *** No rule to make target `confclean'. Stop."
I’m running it from what I believe to be the build directory: /Developer/Tools/Qt.
Also I also can’t find ./configure I get a error
- -bash: ./configure: No such file or directory
Any ideias to solve this? Thanks
40 MB is ok for the needed libs. QtGui alone is 23 MB. You may strip the libs, that reduces the size of QtGui from 23 to 20 MB. With all the other libs you easily get 40 MB in total.
BTW: keep in mind, that, depending on the platform etc., at least 2 or 3 versions of the lib are in the file (ppc 32bit, x86 32bit, x86 64bit). That blows up the file size on the mac for the universal binaries.