Building Qt statically
Solved
Installation and Deployment
-
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 :)
-
Hi,
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.