Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Building Qt statically
Magnus21 last edited by Magnus21
Hey, I have 2 questions about static deployment of an application.
- How long does it approximately take to build Qt statically? I know this varies depending on the hardware, but can someone please tell me approximately how much time I have to plan in, if I compile Qt with an i7? (like will it more likely take 1 hour or 1 day) Also is there any amount of hard drive space that needs to be free during building?
- I heard that there are some licensing requirements, when you build an app statically? Something like the app has to have a LGPL license (or similar)? If that is true, is it sufficient to use a GPL license?
Thanks for your answers :)
smdrz last edited by smdrz
it takes few hours max(1-3), space of 5GB is sufficient and license should be LGPLv3(or GPLv3) if built statically.
Magnus21 last edited by
LGPL license has specific requirements when dealing with static builds. You have to provide the means to rebuild your application against another version of Qt which gets complicated if you'd like to keep your code private.
If you are using the GPL license and provide your code, then you're good to go.