Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Static Compile w/o Commercial License
Qt 6.11 is out! See what's new in the release blog

Static Compile w/o Commercial License

Scheduled Pinned Locked Moved Solved Brainstorm
9 Posts 4 Posters 6.2k Views 3 Watching
  • 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.
  • oPryzeLPO Offline
    oPryzeLPO Offline
    oPryzeLP
    wrote on last edited by
    #1

    As far as I'm aware, I would need to purchase the commercial license in order to static compile my software built with Qt and distribute it commercially. (Closed source)

    But what constitutes as commercially?

    What if my software is 100% free? Can I distribute it still with a closed source statically compiled without a commercial license?

    K 1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Can I distribute it still with a closed source statically compiled without a commercial license?

      No.
      It doesn't matter if your product is free or paid for. The limitation of static linking is due to the requirements of (L)GPL license. In short if you go with the (L)GPL the user needs to be able to link her own version of the lib (i.e. swap dlls for example). This can't be achieved with static linking so it doesn't satisfy the requirements. Commercial license means you can do whatever you want and put any restrictions you want on your product.

      1 Reply Last reply
      5
      • oPryzeLPO Offline
        oPryzeLPO Offline
        oPryzeLP
        wrote on last edited by
        #3

        Thanks :)

        1 Reply Last reply
        1
        • oPryzeLPO oPryzeLP

          As far as I'm aware, I would need to purchase the commercial license in order to static compile my software built with Qt and distribute it commercially. (Closed source)

          But what constitutes as commercially?

          What if my software is 100% free? Can I distribute it still with a closed source statically compiled without a commercial license?

          K Offline
          K Offline
          Konstantin Tokarev
          wrote on last edited by Konstantin Tokarev
          #4

          @oPryzeLP said in Static Compile w/o Commercial License:

          As far as I'm aware, I would need to purchase the commercial license in order to static compile my software built with Qt and distribute it commercially. (Closed source)

          That's a false assumption. Please read LGPL carefully, especally section 6 in case of LGPL2, or section 4 in case of LGPL 3. You can see that it does not mention any difference beteween static and shared libraries.

          oPryzeLPO _ 2 Replies Last reply
          0
          • K Konstantin Tokarev

            @oPryzeLP said in Static Compile w/o Commercial License:

            As far as I'm aware, I would need to purchase the commercial license in order to static compile my software built with Qt and distribute it commercially. (Closed source)

            That's a false assumption. Please read LGPL carefully, especally section 6 in case of LGPL2, or section 4 in case of LGPL 3. You can see that it does not mention any difference beteween static and shared libraries.

            oPryzeLPO Offline
            oPryzeLPO Offline
            oPryzeLP
            wrote on last edited by oPryzeLP
            #5

            @Konstantin-Tokarev right, but doesn't the fact that I want my source closed limit me?

            K 1 Reply Last reply
            0
            • K Konstantin Tokarev

              @oPryzeLP said in Static Compile w/o Commercial License:

              As far as I'm aware, I would need to purchase the commercial license in order to static compile my software built with Qt and distribute it commercially. (Closed source)

              That's a false assumption. Please read LGPL carefully, especally section 6 in case of LGPL2, or section 4 in case of LGPL 3. You can see that it does not mention any difference beteween static and shared libraries.

              _ Offline
              _ Offline
              _PIB
              wrote on last edited by
              #6

              @Konstantin-Tokarev I do not understand your point. LGPL3.4.d gives two options: either ship with source or use shared libraries and option 1 clearly does not include static usage.

              K 1 Reply Last reply
              0
              • _ _PIB

                @Konstantin-Tokarev I do not understand your point. LGPL3.4.d gives two options: either ship with source or use shared libraries and option 1 clearly does not include static usage.

                K Offline
                K Offline
                Konstantin Tokarev
                wrote on last edited by
                #7

                @_PIB "Corresponding Application Code" in 4.d.0 doesn't necessary mean source code, it may be object files.

                _ 1 Reply Last reply
                0
                • oPryzeLPO oPryzeLP

                  @Konstantin-Tokarev right, but doesn't the fact that I want my source closed limit me?

                  K Offline
                  K Offline
                  Konstantin Tokarev
                  wrote on last edited by
                  #8

                  @oPryzeLP said in Static Compile w/o Commercial License:

                  @Konstantin-Tokarev right, but doesn't the fact that I want my source closed limit me?

                  It creates additional work for you in case you insist on static linking (see above). Also, object files are easier to reverse-engineer than executables and shared libraries.

                  1 Reply Last reply
                  1
                  • K Konstantin Tokarev

                    @_PIB "Corresponding Application Code" in 4.d.0 doesn't necessary mean source code, it may be object files.

                    _ Offline
                    _ Offline
                    _PIB
                    wrote on last edited by
                    #9

                    @Konstantin-Tokarev Thanks, I see it now.

                    https://softwareengineering.stackexchange.com/questions/312758/does-providing-object-files-satisfy-lgpl-relink-clause

                    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