Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Using qt for a commercial application on windows (LGPL)
Forum Update on Monday, May 27th 2025

Using qt for a commercial application on windows (LGPL)

Scheduled Pinned Locked Moved Unsolved General and Desktop
76 Posts 12 Posters 5.8k 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.
  • Pl45m4P Pl45m4

    @jsulm said in Using qt for a commercial application on windows (LGPL):

    Wrong. Anybody can sue you if you violate an OSS license.

    Probably, but I meant, if there is no Qt Company anymore... all its licenses are void?!
    Because TQtC is the license "holder"?!
    Am I wrong?
    Or will it continue through the OpenSource / (L)GPL "community"?

    @Jo-Jo said in Using qt for a commercial application on windows (LGPL):

    This instruction could be sending a person to Mars to get the Qt sources, right? :)

    I think they had more reasonable ways in mind :D
    But interesting take...
    Peter Jackson will produce a trilogy on this starting with "An unexpected journey" ;-)

    I Offline
    I Offline
    IgKh
    wrote on last edited by
    #14

    @Pl45m4 said in Using qt for a commercial application on windows (LGPL):

    Probably, but I meant, if there is no Qt Company anymore... all its licenses are void?!

    IANAL of course!

    To my understanding, software licensing is based on copyright law. The law controls if and when a copyright expires and the protected work becomes a free-for-all. For example in the United States it is life + 70 years, so for a painting the painter's estate / inheritors would keep holding the copyright for additional 70 years after death of the original author.

    I'm not sure how that exactly works when the copyright holder is a corporate entity, but I suppose that if the Qt Company goes bankrupt the copyright for the parts of the Qt source code that it held will be sold off to someone by the liquidator as part of the company's intellectual property. At any rate the LGPL license is non-revocable, so anyone who got it can keep using it under the same terms even if there is a new owner.

    1 Reply Last reply
    1
    • J Jo Jo

      @SimonSchroeder said in Using qt for a commercial application on windows (LGPL):

      You distribute the source code alongside/in the same way as your own app. If you distribute your app through a CD-ROM (probably not, but trying to make a point here), the same CD-ROM should also contain the source code of Qt. If people can download your app through the internet, you need to provide a download for the source of Qt as well; it is not sufficient to link to some one elses (or the official) repository. It needs to be under your control

      Official link says :

      Complete corresponding source code of the library used with the application or the device built using LGPL, including all modifications to the library, should be delivered with the application (or alternatively provide a written offer with instructions on how to get the source code)
      https://www.qt.io/licensing/open-source-lgpl-obligations

      The most interesting part is "or alternatively provide a written offer with instructions on how to get the source code".
      It didn't say that I should provide a link to download the Qt sources. It said that I should provide written instructions on how to get the Qt sources. This instruction could be sending a person to Mars to get the Qt sources, right? :) Or just send a written request by email to get the archive with the source code by email or stuff like this. Or am I wrong?

      @KH-219Design Thank you!

      S Offline
      S Offline
      SimonSchroeder
      wrote on last edited by SimonSchroeder
      #15

      @Jo-Jo said in Using qt for a commercial application on windows (LGPL):

      The most interesting part is "or alternatively provide a written offer with instructions on how to get the source code".

      Legally, it doesn't really matter how Qt tries to explain the LGPL. Finally, the source is put under the LGPL and that is the legal document that grants you certain rights. The LGPLv3 refers for a few things to the GPLv3 (https://www.gnu.org/licenses/gpl-3.0.html). Under section 6 there are 5 options how to distribute the source. Here are the three that I tried to refer to:

      a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.

      b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, [...]

      d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.

      Especially the last sentence means you cannot rely on Qt hosting the source code on GitHub. You neither can ensure that Qt keeps their repository there nor can you ensure that GitHub keeps existing.

      J 1 Reply Last reply
      4
      • S SimonSchroeder

        @Jo-Jo said in Using qt for a commercial application on windows (LGPL):

        The most interesting part is "or alternatively provide a written offer with instructions on how to get the source code".

        Legally, it doesn't really matter how Qt tries to explain the LGPL. Finally, the source is put under the LGPL and that is the legal document that grants you certain rights. The LGPLv3 refers for a few things to the GPLv3 (https://www.gnu.org/licenses/gpl-3.0.html). Under section 6 there are 5 options how to distribute the source. Here are the three that I tried to refer to:

        a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.

        b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, [...]

        d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.

        Especially the last sentence means you cannot rely on Qt hosting the source code on GitHub. You neither can ensure that Qt keeps their repository there nor can you ensure that GitHub keeps existing.

        J Offline
        J Offline
        Jo Jo
        wrote on last edited by
        #16

        @SimonSchroeder said in Using qt for a commercial application on windows (LGPL):

        Especially the last sentence means you cannot rely on Qt hosting the source code on GitHub. You neither can ensure that Qt keeps their repository there nor can you ensure that GitHub keeps existing.

        Do I understand correctly that it is enough to provide a link to download the Qt source code, for example, to the GitHub repository?

        jsulmJ 1 Reply Last reply
        0
        • J Jo Jo

          @SimonSchroeder said in Using qt for a commercial application on windows (LGPL):

          Especially the last sentence means you cannot rely on Qt hosting the source code on GitHub. You neither can ensure that Qt keeps their repository there nor can you ensure that GitHub keeps existing.

          Do I understand correctly that it is enough to provide a link to download the Qt source code, for example, to the GitHub repository?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #17

          @Jo-Jo said in Using qt for a commercial application on windows (LGPL):

          Do I understand correctly that it is enough to provide a link to download the Qt source code, for example, to the GitHub repository?

          No, it means the opposite, because you cannot be sure that GitHub will be there al long as you distribute your software. That's why you should have the source code of the Qt version you're using and provide it on request.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          J 1 Reply Last reply
          0
          • jsulmJ jsulm

            @Jo-Jo said in Using qt for a commercial application on windows (LGPL):

            Do I understand correctly that it is enough to provide a link to download the Qt source code, for example, to the GitHub repository?

            No, it means the opposite, because you cannot be sure that GitHub will be there al long as you distribute your software. That's why you should have the source code of the Qt version you're using and provide it on request.

            J Offline
            J Offline
            Jo Jo
            wrote on last edited by
            #18

            @jsulm said in Using qt for a commercial application on windows (LGPL):

            No, it means the opposite, because you cannot be sure that GitHub will be there al long as you distribute your software. That's why you should have the source code of the Qt version you're using and provide it on request.

            Should it be a web hosting under my control? Even then, the hosting may stop working. Any Internet resource may eventually close down.

            jsulmJ 1 Reply Last reply
            0
            • J Jo Jo

              @jsulm said in Using qt for a commercial application on windows (LGPL):

              No, it means the opposite, because you cannot be sure that GitHub will be there al long as you distribute your software. That's why you should have the source code of the Qt version you're using and provide it on request.

              Should it be a web hosting under my control? Even then, the hosting may stop working. Any Internet resource may eventually close down.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #19

              @Jo-Jo It doesn't matter how you store the source code. What is required is that you can provide Qt source code to whoever asks for it. It does not have to be an URL, it can also be an USB stick or what ever.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              J 1 Reply Last reply
              1
              • jsulmJ jsulm

                @Jo-Jo It doesn't matter how you store the source code. What is required is that you can provide Qt source code to whoever asks for it. It does not have to be an URL, it can also be an USB stick or what ever.

                J Offline
                J Offline
                Jo Jo
                wrote on last edited by Jo Jo
                #20

                @jsulm Do you mean to provide the Qt source code on demand? But am I not obliged to provide access to the Qt source code even without user requests?

                jsulmJ 1 Reply Last reply
                0
                • J Jo Jo

                  @jsulm Do you mean to provide the Qt source code on demand? But am I not obliged to provide access to the Qt source code even without user requests?

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #21

                  @Jo-Jo said in Using qt for a commercial application on windows (LGPL):

                  But am I not obliged to provide access to the Qt source code even without user requests?

                  You are as far as I know, read again what @SimonSchroeder wrote

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  J 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @Jo-Jo said in Using qt for a commercial application on windows (LGPL):

                    But am I not obliged to provide access to the Qt source code even without user requests?

                    You are as far as I know, read again what @SimonSchroeder wrote

                    J Offline
                    J Offline
                    Jo Jo
                    wrote on last edited by
                    #22

                    @jsulm I have read it. As far as I understand, I am obliged to provide a download link plus a guarantee that if the link stops working, I will be able to transfer the Qt sources in an alternative way. To do this, I must store the Qt sources somewhere on my own. Right?

                    jsulmJ 1 Reply Last reply
                    0
                    • J Jo Jo

                      @jsulm I have read it. As far as I understand, I am obliged to provide a download link plus a guarantee that if the link stops working, I will be able to transfer the Qt sources in an alternative way. To do this, I must store the Qt sources somewhere on my own. Right?

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #23

                      @Jo-Jo said in Using qt for a commercial application on windows (LGPL):

                      To do this, I must store the Qt sources somewhere on my own.

                      Yes, that's what I wrote

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      J 1 Reply Last reply
                      1
                      • jsulmJ jsulm

                        @Jo-Jo said in Using qt for a commercial application on windows (LGPL):

                        To do this, I must store the Qt sources somewhere on my own.

                        Yes, that's what I wrote

                        J Offline
                        J Offline
                        Jo Jo
                        wrote on last edited by
                        #24

                        @jsulm Thank you!

                        1 Reply Last reply
                        0
                        • J Offline
                          J Offline
                          Jo Jo
                          wrote on last edited by
                          #25

                          Sorry, do I need to additionally provide the text of the LGPL license in software or on the some web page?

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

                            Yes, with the software. Also QMainWindow QApplication has an aboutQt method that shows this information.

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

                            J 1 Reply Last reply
                            2
                            • SGaistS SGaist

                              Yes, with the software. Also QMainWindow QApplication has an aboutQt method that shows this information.

                              J Offline
                              J Offline
                              Jo Jo
                              wrote on last edited by Jo Jo
                              #27

                              @SGaist
                              I can't find the QMainWindow::aboutQt method in the documentation. Can you provide a link? I found QApplication::aboutQt but it gives us general information about Qt licensing (not specific to LGPL)

                              One more question: can anyone provide me with a link to a commercial Windows application that uses Qt under the LGPL license? I need such a program as an example

                              SGaistS Z 2 Replies Last reply
                              0
                              • J Jo Jo

                                @SGaist
                                I can't find the QMainWindow::aboutQt method in the documentation. Can you provide a link? I found QApplication::aboutQt but it gives us general information about Qt licensing (not specific to LGPL)

                                One more question: can anyone provide me with a link to a commercial Windows application that uses Qt under the LGPL license? I need such a program as an example

                                SGaistS Offline
                                SGaistS Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on last edited by
                                #28

                                @Jo-Jo My bad it was QApplication::aboutQt

                                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
                                • J Jo Jo

                                  @SGaist
                                  I can't find the QMainWindow::aboutQt method in the documentation. Can you provide a link? I found QApplication::aboutQt but it gives us general information about Qt licensing (not specific to LGPL)

                                  One more question: can anyone provide me with a link to a commercial Windows application that uses Qt under the LGPL license? I need such a program as an example

                                  Z Offline
                                  Z Offline
                                  zvoopz
                                  wrote on last edited by zvoopz
                                  #29

                                  @Jo-Jo said in Using qt for a commercial application on windows (LGPL):

                                  can anyone provide me with a link to a commercial Windows application that uses Qt under the LGPL license? I need such a program as an example

                                  I dont know which type of license does Viber use. I cant find any information about licenses inside this application but I see a bunch of Qt`s dlls here
                                  C:\Users\username\AppData\Local\Viber
                                  No Qt mention as well
                                  image.PNG

                                  J 1 Reply Last reply
                                  0
                                  • Z zvoopz

                                    @Jo-Jo said in Using qt for a commercial application on windows (LGPL):

                                    can anyone provide me with a link to a commercial Windows application that uses Qt under the LGPL license? I need such a program as an example

                                    I dont know which type of license does Viber use. I cant find any information about licenses inside this application but I see a bunch of Qt`s dlls here
                                    C:\Users\username\AppData\Local\Viber
                                    No Qt mention as well
                                    image.PNG

                                    J Offline
                                    J Offline
                                    Jo Jo
                                    wrote on last edited by
                                    #30

                                    @zvoopz said in Using qt for a commercial application on windows (LGPL):

                                    No Qt mention as well

                                    Probably they are using commercial license but I am interested in example of app which releases under LGPL (no payment for Qt license, but commercial app)

                                    Pl45m4P 1 Reply Last reply
                                    0
                                    • J Jo Jo

                                      @zvoopz said in Using qt for a commercial application on windows (LGPL):

                                      No Qt mention as well

                                      Probably they are using commercial license but I am interested in example of app which releases under LGPL (no payment for Qt license, but commercial app)

                                      Pl45m4P Offline
                                      Pl45m4P Offline
                                      Pl45m4
                                      wrote on last edited by Pl45m4
                                      #31

                                      @Jo-Jo said in Using qt for a commercial application on windows (LGPL):

                                      I am interested in example of app which releases under LGPL (no payment for Qt license, but commercial app)

                                      I think it might be hard to tell, because to know this, you have to get the source code, which commercial app developers would not publish.
                                      And AFAIK commercial Qt users can link Qt statically while keeping the code hidden. So as "customer" you are not able to tell whether such app even uses Qt.
                                      Meanwhile, commercial LGPL developed apps you also have to buy first to inspect the files that are shipped with it.
                                      (I don't have any apps I paid for, that were developed using Qt)

                                      You could check the Windows App Store. Maybe there you find apps tagged with "Qt" (if there is such feature).
                                      Or look into the Showcase subforum here. Maybe you find links to commercial apps that were developed by open source users here in the forum.


                                      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

                                      ~E. W. Dijkstra

                                      J 1 Reply Last reply
                                      1
                                      • Pl45m4P Pl45m4

                                        @Jo-Jo said in Using qt for a commercial application on windows (LGPL):

                                        I am interested in example of app which releases under LGPL (no payment for Qt license, but commercial app)

                                        I think it might be hard to tell, because to know this, you have to get the source code, which commercial app developers would not publish.
                                        And AFAIK commercial Qt users can link Qt statically while keeping the code hidden. So as "customer" you are not able to tell whether such app even uses Qt.
                                        Meanwhile, commercial LGPL developed apps you also have to buy first to inspect the files that are shipped with it.
                                        (I don't have any apps I paid for, that were developed using Qt)

                                        You could check the Windows App Store. Maybe there you find apps tagged with "Qt" (if there is such feature).
                                        Or look into the Showcase subforum here. Maybe you find links to commercial apps that were developed by open source users here in the forum.

                                        J Offline
                                        J Offline
                                        Jo Jo
                                        wrote on last edited by
                                        #32

                                        @Pl45m4 ok, thank you!

                                        1 Reply Last reply
                                        0
                                        • S Offline
                                          S Offline
                                          SimonSchroeder
                                          wrote on last edited by
                                          #33

                                          BTW, any app needs to comply with the same rules when using Qt under the GPL or LGPL. It doesn't matter if it's commercial or not. As soon as you distribute a binary (even if it is open source) you need to follow these rules. So, open source apps using Qt will suffice as example. Just note that just because someone else isn't doing something (e.g. not providing a download link for the Qt sources) doesn't mean this is the correct way to do it.

                                          jsulmJ 1 Reply Last reply
                                          0

                                          • Login

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