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 Updated to NodeBB v4.3 + New Features

Using qt for a commercial application on windows (LGPL)

Scheduled Pinned Locked Moved Unsolved General and Desktop
76 Posts 12 Posters 6.1k Views 5 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.
  • S SimonSchroeder
    31 Mar 2025, 06:12

    @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 31 Mar 2025, 10:10 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?

    J 1 Reply Last reply 31 Mar 2025, 11:24
    0
    • J Jo Jo
      31 Mar 2025, 10:10

      @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?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 31 Mar 2025, 11:24 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 31 Mar 2025, 11:50
      0
      • J jsulm
        31 Mar 2025, 11:24

        @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 31 Mar 2025, 11:50 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.

        J 1 Reply Last reply 31 Mar 2025, 11:54
        0
        • J Jo Jo
          31 Mar 2025, 11:50

          @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.

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 31 Mar 2025, 11:54 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 31 Mar 2025, 12:03
          1
          • J jsulm
            31 Mar 2025, 11:54

            @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 31 Mar 2025, 12:03 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?

            J 1 Reply Last reply 31 Mar 2025, 12:29
            0
            • J Jo Jo
              31 Mar 2025, 12:03

              @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?

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 31 Mar 2025, 12:29 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 31 Mar 2025, 13:04
              0
              • J jsulm
                31 Mar 2025, 12:29

                @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 31 Mar 2025, 13:04 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?

                J 1 Reply Last reply 31 Mar 2025, 13:15
                0
                • J Jo Jo
                  31 Mar 2025, 13:04

                  @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?

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 31 Mar 2025, 13:15 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 31 Mar 2025, 14:01
                  1
                  • J jsulm
                    31 Mar 2025, 13:15

                    @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 31 Mar 2025, 14:01 last edited by
                    #24

                    @jsulm Thank you!

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      Jo Jo
                      wrote on 31 Mar 2025, 16:24 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
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 31 Mar 2025, 18:43 last edited by SGaist 4 Jan 2025, 11:02
                        #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 1 Apr 2025, 10:26
                        2
                        • S SGaist
                          31 Mar 2025, 18:43

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

                          J Offline
                          J Offline
                          Jo Jo
                          wrote on 1 Apr 2025, 10:26 last edited by Jo Jo 4 Jan 2025, 10:31
                          #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

                          S Z 2 Replies Last reply 1 Apr 2025, 11:02
                          0
                          • J Jo Jo
                            1 Apr 2025, 10:26

                            @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

                            S Offline
                            S Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on 1 Apr 2025, 11:02 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
                              1 Apr 2025, 10:26

                              @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 1 Apr 2025, 11:13 last edited by zvoopz 4 Jan 2025, 11:13
                              #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 2 Apr 2025, 11:26
                              0
                              • Z zvoopz
                                1 Apr 2025, 11:13

                                @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 2 Apr 2025, 11:26 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)

                                P 1 Reply Last reply 2 Apr 2025, 11:39
                                0
                                • J Jo Jo
                                  2 Apr 2025, 11:26

                                  @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)

                                  P Offline
                                  P Offline
                                  Pl45m4
                                  wrote on 2 Apr 2025, 11:39 last edited by Pl45m4 4 Feb 2025, 11:42
                                  #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 2 Apr 2025, 12:58
                                  1
                                  • P Pl45m4
                                    2 Apr 2025, 11:39

                                    @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 2 Apr 2025, 12:58 last edited by
                                    #32

                                    @Pl45m4 ok, thank you!

                                    1 Reply Last reply
                                    0
                                    • S Offline
                                      S Offline
                                      SimonSchroeder
                                      wrote on 3 Apr 2025, 06:03 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.

                                      J 1 Reply Last reply 3 Apr 2025, 06:56
                                      0
                                      • S SimonSchroeder
                                        3 Apr 2025, 06:03

                                        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.

                                        J Offline
                                        J Offline
                                        jsulm
                                        Lifetime Qt Champion
                                        wrote on 3 Apr 2025, 06:56 last edited by
                                        #34

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

                                        It doesn't matter if it's commercial or not

                                        I disagree with this statement. As far as I know as commercial user you do not have to follow GPL/LPLG as you get Qt under commercial license, not GPL/LGPL (dual licensing).

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

                                        S 1 Reply Last reply 3 Apr 2025, 07:18
                                        0
                                        • J jsulm
                                          3 Apr 2025, 06:56

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

                                          It doesn't matter if it's commercial or not

                                          I disagree with this statement. As far as I know as commercial user you do not have to follow GPL/LPLG as you get Qt under commercial license, not GPL/LGPL (dual licensing).

                                          S Offline
                                          S Offline
                                          SGaist
                                          Lifetime Qt Champion
                                          wrote on 3 Apr 2025, 07:18 last edited by
                                          #35

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

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

                                          It doesn't matter if it's commercial or not

                                          I disagree with this statement. As far as I know as commercial user you do not have to follow GPL/LPLG as you get Qt under commercial license, not GPL/LGPL (dual licensing).

                                          I think @SimonSchroeder meant that when using Qt under GPL/LGPL, the fact that the application is commercial or open source does not change anything with regard to respecting these licenses constraints.

                                          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
                                          3

                                          25/76

                                          31 Mar 2025, 16:24

                                          • Login

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