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)
QtWS25 Last Chance

Using qt for a commercial application on windows (LGPL)

Scheduled Pinned Locked Moved Unsolved General and Desktop
76 Posts 12 Posters 5.5k 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.
  • 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 Online
      J Online
      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
        • J Offline
          J Offline
          Jo Jo
          wrote on 6 Apr 2025, 11:48 last edited by
          #36

          So, guys, what should I do then? We don't have an example on hand that would prove that all these messages in this topic work effectively in practice. I'm tormented by the question: what if it turns out that following all these rules is not enough to use qt for free? After all, we don't have real examples of anyone who did this and didn't have any problems

          P S 2 Replies Last reply 6 Apr 2025, 18:13
          0
          • J Jo Jo
            6 Apr 2025, 11:48

            So, guys, what should I do then? We don't have an example on hand that would prove that all these messages in this topic work effectively in practice. I'm tormented by the question: what if it turns out that following all these rules is not enough to use qt for free? After all, we don't have real examples of anyone who did this and didn't have any problems

            P Offline
            P Offline
            Pl45m4
            wrote on 6 Apr 2025, 18:13 last edited by
            #37

            @Jo-Jo

            That's because we aren't lawyers and why you may consult one if you want to be 100% safe.


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

            ~E. W. Dijkstra

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 6 Apr 2025, 19:01 last edited by
              #38

              @Jo-Jo While not using Qt (AFAIK), the firmware from the Garmin GPS uses multiple open source libraries that are listed alongside their licenses for example.

              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
              0
              • J Jo Jo
                6 Apr 2025, 11:48

                So, guys, what should I do then? We don't have an example on hand that would prove that all these messages in this topic work effectively in practice. I'm tormented by the question: what if it turns out that following all these rules is not enough to use qt for free? After all, we don't have real examples of anyone who did this and didn't have any problems

                S Offline
                S Offline
                SimonSchroeder
                wrote on 7 Apr 2025, 07:03 last edited by
                #39

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

                After all, we don't have real examples of anyone who did this and didn't have any problems

                I think we don't have any real example where someone did have problems. It is quite rare that companies get sued over open source licenses. Most of the time it is because they are trying to hide that they are using open source components because they don't want to comply with open source licenses (e.g. tivoization). It is also mostly large companies that get sued because they don't think they have to follow the rules. I don't think you'll get sued if you are trying your best to fulfill open source licenses (though legally speaking "doing your best" is not enough). The major problem in correctly answering your question is that there is no legal precedent how to comply with the LGPL. If you ask Qt they will always tell you that they don't know (it's because there is no legal precedent) and they'll offer you a commercial license to be on the safe side.

                I'd always choose the LGPL (even for a commercial application). The way I am using Qt I don't see any advantage in a commercial license. The only good thing about the commercial license is peace of mind. But, it is a little expensive for that (especially if you have multiple developers on the project; even more so, if some developers just occasionally program a small part of the software like two weeks a year).

                1 Reply Last reply
                1
                • J Offline
                  J Offline
                  Jo Jo
                  wrote 29 days ago last edited by Jo Jo
                  #40

                  After all the messages, unfortunately, I still couldn't get a concrete answer about whether it is possible to use Qt for Windows app with the LGPL license for free and safely or not. Only at your own risk or buy a license.

                  P 1 Reply Last reply 29 days ago
                  0
                  • J Jo Jo
                    29 days ago

                    After all the messages, unfortunately, I still couldn't get a concrete answer about whether it is possible to use Qt for Windows app with the LGPL license for free and safely or not. Only at your own risk or buy a license.

                    P Offline
                    P Offline
                    Pl45m4
                    wrote 29 days ago last edited by Pl45m4
                    #41

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

                    whether it is possible to use Qt for Windows app with the LGPL license for free and safely or not

                    100% you can. But you have to follow some rules/comply with the obligations. Everything that was said above.
                    Still: None of us is a lawyer. Most people speak from their personal experience.

                    Only at your own risk

                    Almost everything you do (on- and offline) is at your own risk :)
                    If you mess up, no one else is responsible for it but yourself. You can't blame people here in the forum for that :)
                    That's why it's tricky to ask for legal advices here.


                    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 28 days ago
                    0
                    • P Pl45m4
                      29 days ago

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

                      whether it is possible to use Qt for Windows app with the LGPL license for free and safely or not

                      100% you can. But you have to follow some rules/comply with the obligations. Everything that was said above.
                      Still: None of us is a lawyer. Most people speak from their personal experience.

                      Only at your own risk

                      Almost everything you do (on- and offline) is at your own risk :)
                      If you mess up, no one else is responsible for it but yourself. You can't blame people here in the forum for that :)
                      That's why it's tricky to ask for legal advices here.

                      J Offline
                      J Offline
                      Jo Jo
                      wrote 28 days ago last edited by Jo Jo
                      #42

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

                      100% you can

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

                      is at your own risk

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

                      Most people speak from their personal experience.

                      Very interesting :)) Anyway, nobody in this topic can provide some successfully example of LGPL qt usage under Windows

                      P S 2 Replies Last reply 28 days ago
                      0
                      • J Jo Jo
                        28 days ago

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

                        100% you can

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

                        is at your own risk

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

                        Most people speak from their personal experience.

                        Very interesting :)) Anyway, nobody in this topic can provide some successfully example of LGPL qt usage under Windows

                        P Offline
                        P Offline
                        Pl45m4
                        wrote 28 days ago last edited by Pl45m4
                        #43

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

                        Very interesting :)) Anyway, nobody in this topic can provide some successfully example of LGPL qt usage under Windows

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

                        Almost everything you do (on- and offline) is at your own risk :)
                        If you mess up, no one else is responsible for it but yourself. You can't blame people here in the forum for that :)

                        Consult a laywer if you want to be 100% sure.
                        What I meant above is that what you are planning to do is possible in general, but there are some restrictions and obligations that come with it...
                        whether you choose to follow them or not is up to you :)

                        Nobody will give you legal advices here in the forum. Nobody else is responsible for your license.
                        What you need to do depends on your actual case... the "frame" (what you must and can do) was provided in detailed answers by @SimonSchroeder , @IgKh, @jsulm, @KH-219Design and @SGaist


                        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 27 days ago
                        1
                        • J Jo Jo
                          28 days ago

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

                          100% you can

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

                          is at your own risk

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

                          Most people speak from their personal experience.

                          Very interesting :)) Anyway, nobody in this topic can provide some successfully example of LGPL qt usage under Windows

                          S Offline
                          S Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote 28 days ago last edited by
                          #44

                          @Jo-Jo under Windows ? Krita for example. There's a whole lot of KDE based software that are available on Windows.

                          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
                          • P Pl45m4
                            28 days ago

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

                            Very interesting :)) Anyway, nobody in this topic can provide some successfully example of LGPL qt usage under Windows

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

                            Almost everything you do (on- and offline) is at your own risk :)
                            If you mess up, no one else is responsible for it but yourself. You can't blame people here in the forum for that :)

                            Consult a laywer if you want to be 100% sure.
                            What I meant above is that what you are planning to do is possible in general, but there are some restrictions and obligations that come with it...
                            whether you choose to follow them or not is up to you :)

                            Nobody will give you legal advices here in the forum. Nobody else is responsible for your license.
                            What you need to do depends on your actual case... the "frame" (what you must and can do) was provided in detailed answers by @SimonSchroeder , @IgKh, @jsulm, @KH-219Design and @SGaist

                            J Offline
                            J Offline
                            Jo Jo
                            wrote 27 days ago last edited by Jo Jo
                            #45

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

                            Consult a laywer if you want to be 100% sure.

                            How hard is it to find a lawyer with C++ skills? Who would explain the nuances at a programmer level, all the details? And what if the lawyer makes a mistake? Who will be held responsible?

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

                            Krita for example

                            Interesting example, but Krita is open source and free (in my case i am looking for closed source and paid app)

                            J S P 3 Replies Last reply 27 days ago
                            0
                            • J Jo Jo
                              27 days ago

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

                              Consult a laywer if you want to be 100% sure.

                              How hard is it to find a lawyer with C++ skills? Who would explain the nuances at a programmer level, all the details? And what if the lawyer makes a mistake? Who will be held responsible?

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

                              Krita for example

                              Interesting example, but Krita is open source and free (in my case i am looking for closed source and paid app)

                              J Online
                              J Online
                              jsulm
                              Lifetime Qt Champion
                              wrote 27 days ago last edited by
                              #46

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

                              How hard is it to find a lawyer with C++ skills?

                              Why do you need a lawyer with C++ skills?! It is not about a programming language.
                              It is actually simple: you have to fulfill involved OSS licenses. In this case LGPL. Read it and also some explanations like https://www.qt.io/licensing/open-source-lgpl-obligations or https://connect.hyland.com/t5/alfresco-blog/tldr-the-lgpl-license-explained/ba-p/123690 or whatever else you can find.
                              Nobody here will give you any guarantees! It is your job to make sure you do not violate LGPL (or whatever other OSS licenses are involved).
                              If you want to write commercial software you should really ask a real lawyer, there are also some specialising on this topic.

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

                              J 1 Reply Last reply 27 days ago
                              1
                              • J Jo Jo
                                27 days ago

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

                                Consult a laywer if you want to be 100% sure.

                                How hard is it to find a lawyer with C++ skills? Who would explain the nuances at a programmer level, all the details? And what if the lawyer makes a mistake? Who will be held responsible?

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

                                Krita for example

                                Interesting example, but Krita is open source and free (in my case i am looking for closed source and paid app)

                                S Offline
                                S Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote 27 days ago last edited by
                                #47

                                @Jo-Jo If memory serves well Blackmagic Design uses Qt for some of their software.

                                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
                                0
                                • J Jo Jo
                                  27 days ago

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

                                  Consult a laywer if you want to be 100% sure.

                                  How hard is it to find a lawyer with C++ skills? Who would explain the nuances at a programmer level, all the details? And what if the lawyer makes a mistake? Who will be held responsible?

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

                                  Krita for example

                                  Interesting example, but Krita is open source and free (in my case i am looking for closed source and paid app)

                                  P Offline
                                  P Offline
                                  Pl45m4
                                  wrote 27 days ago last edited by Pl45m4
                                  #48

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

                                  what if

                                  What if an asteroid strikes the earth tomorrow or a solar flare destroys all IT infrastructure next monday?
                                  That's bs ;-)

                                  in my case i am looking for closed source and paid app)

                                  To add to @jsulm 's answer (this is what anybody else would also suggest you)

                                  How do you want to find the sources/files of a closed source app to check what they've done, where they mention their licensing and so on?!
                                  [Edit: they need to mention their (L)GPL license, but you are still not able to look at their code... well because it's not open. In most cases you have the binaries. What strategies they use to fulfill Qt's LGPL part might not be invisible unless you actually buy the program and request their license]

                                  IIRC BlackMagic Design as mentioned by @SGaist costs like couple hundred dollars to be able to have full support and to "use" it... I don't know if there is a demo or something.
                                  Also IIRC they also have to provide the objects for re-linking for customers only. And not to anyone who's just curious


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

                                  ~E. W. Dijkstra

                                  J 2 Replies Last reply 27 days ago
                                  0
                                  • J jsulm
                                    27 days ago

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

                                    How hard is it to find a lawyer with C++ skills?

                                    Why do you need a lawyer with C++ skills?! It is not about a programming language.
                                    It is actually simple: you have to fulfill involved OSS licenses. In this case LGPL. Read it and also some explanations like https://www.qt.io/licensing/open-source-lgpl-obligations or https://connect.hyland.com/t5/alfresco-blog/tldr-the-lgpl-license-explained/ba-p/123690 or whatever else you can find.
                                    Nobody here will give you any guarantees! It is your job to make sure you do not violate LGPL (or whatever other OSS licenses are involved).
                                    If you want to write commercial software you should really ask a real lawyer, there are also some specialising on this topic.

                                    J Offline
                                    J Offline
                                    Jo Jo
                                    wrote 27 days ago last edited by
                                    #49

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

                                    Why do you need a lawyer with C++ skills?

                                    Because someone should tell me that for example I should link dynamically with Qt libraries or something like that. Compliance with the license terms of the software requires this.

                                    1 Reply Last reply
                                    0
                                    • P Pl45m4
                                      27 days ago

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

                                      what if

                                      What if an asteroid strikes the earth tomorrow or a solar flare destroys all IT infrastructure next monday?
                                      That's bs ;-)

                                      in my case i am looking for closed source and paid app)

                                      To add to @jsulm 's answer (this is what anybody else would also suggest you)

                                      How do you want to find the sources/files of a closed source app to check what they've done, where they mention their licensing and so on?!
                                      [Edit: they need to mention their (L)GPL license, but you are still not able to look at their code... well because it's not open. In most cases you have the binaries. What strategies they use to fulfill Qt's LGPL part might not be invisible unless you actually buy the program and request their license]

                                      IIRC BlackMagic Design as mentioned by @SGaist costs like couple hundred dollars to be able to have full support and to "use" it... I don't know if there is a demo or something.
                                      Also IIRC they also have to provide the objects for re-linking for customers only. And not to anyone who's just curious

                                      J Offline
                                      J Offline
                                      Jo Jo
                                      wrote 27 days ago last edited by
                                      #50

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

                                      How do you want to find the sources/files of a closed source app to check what they've done, where they mention their licensing and so on?!

                                      So an LGPL compatible application should indicate somewhere that Qt is used and about the user's rights. This would be enough to understand that the application uses Qt

                                      J 1 Reply Last reply 27 days ago
                                      0
                                      • J Jo Jo
                                        27 days ago

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

                                        How do you want to find the sources/files of a closed source app to check what they've done, where they mention their licensing and so on?!

                                        So an LGPL compatible application should indicate somewhere that Qt is used and about the user's rights. This would be enough to understand that the application uses Qt

                                        J Online
                                        J Online
                                        jsulm
                                        Lifetime Qt Champion
                                        wrote 27 days ago last edited by
                                        #51

                                        @Jo-Jo The link I gave you above says that already: https://www.qt.io/licensing/open-source-lgpl-obligations
                                        "In case of dynamic linking, it is possible, but not mandatory, to keep application source code proprietary as long as it is “work that uses the library” – typically achieved via dynamic linking of the library."

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

                                        J 1 Reply Last reply 27 days ago
                                        1
                                        • P Pl45m4
                                          27 days ago

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

                                          what if

                                          What if an asteroid strikes the earth tomorrow or a solar flare destroys all IT infrastructure next monday?
                                          That's bs ;-)

                                          in my case i am looking for closed source and paid app)

                                          To add to @jsulm 's answer (this is what anybody else would also suggest you)

                                          How do you want to find the sources/files of a closed source app to check what they've done, where they mention their licensing and so on?!
                                          [Edit: they need to mention their (L)GPL license, but you are still not able to look at their code... well because it's not open. In most cases you have the binaries. What strategies they use to fulfill Qt's LGPL part might not be invisible unless you actually buy the program and request their license]

                                          IIRC BlackMagic Design as mentioned by @SGaist costs like couple hundred dollars to be able to have full support and to "use" it... I don't know if there is a demo or something.
                                          Also IIRC they also have to provide the objects for re-linking for customers only. And not to anyone who's just curious

                                          J Offline
                                          J Offline
                                          Jo Jo
                                          wrote 27 days ago last edited by
                                          #52

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

                                          unless you actually buy the program and request their license

                                          In most cases paid software give you trial version and you can see everything what you want, this is not a problem

                                          1 Reply Last reply
                                          0

                                          42/76

                                          14 Apr 2025, 13:57

                                          • Login

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