Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building Qt statically

Building Qt statically

Scheduled Pinned Locked Moved Solved Installation and Deployment
4 Posts 3 Posters 780 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Magnus21
    wrote on last edited by Magnus21
    #1

    Hey, I have 2 questions about static deployment of an application.

    1. 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?
    2. 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 :)

    1 Reply Last reply
    0
    • S Offline
      S Offline
      smdrz
      wrote on last edited by smdrz
      #2

      it takes few hours max(1-3), space of 5GB is sufficient and license should be LGPLv3(or GPLv3) if built statically.

      1 Reply Last reply
      1
      • M Offline
        M Offline
        Magnus21
        wrote on last edited by
        #3

        Thanks :)

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved