Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Reducing the size of the deployed app
Aron last edited by
Hey I'm using Qt Widgets on the desktop and I found that when running
windeployqt.exeit produces 50 MB of libraries, is there any way to shrink the size of it by discarding features you don't need?
Windeployqt.exe does the good job. It means that it will copy required libraries. Alternatively you can try copying the required libraries on your own one-by-one and see if it helps.
@Aron Take a look at http://blog.qt.io/blog/2016/08/18/introducing-the-qt-lite-project-qt-for-any-platform-any-thing-any-size/
Personally I would not care about 50MB.
@Aron actually 50 mb seems about right, for the Core Qt-Libaries. Without stepping into QtLite territory I don't see how you could reduce the size significantly.
On the plus side, without adding new Modules, the size will not change much if you expand your application, even if it is by a lot.