Static build QT application in Windows
We have created a application in QT and followed the below link to deploy the same.
After following this link, the application and its supporting DLL files size is around 400MB. Is it possible to reduce this file size further or is it possible to build the application in STATIC as we do the same in Linux?
Thanks in Advance.
You have probably included debug libraries by mistake. Please use the relese libraries, and the DLL size will drop to 10-30MB.
It is possible to build Qt and your applications statically, of course. Just mind the license when doing so.
Thanks for your reply.
Can you please provide the steps or link to build the QT applications statically?
I gues you've already did compile Qt statically for Linux, so the steps for Windows are similar.
Here is a wiki entry for MinGW: "link":http://qt-project.org/wiki/How-to-build-a-static-Qt-for-Windows-MinGW.