Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. I'm using Qt Open Source, not selling the software, and need to keep source code hidden.
Forum Updated to NodeBB v4.3 + New Features

I'm using Qt Open Source, not selling the software, and need to keep source code hidden.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
9 Posts 7 Posters 2.0k Views 4 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.
  • M Offline
    M Offline
    mikoo1991
    wrote on last edited by
    #1

    Hello,
    I have a little question about Qt GPL / GNU licenses. The problem I'm talking about is about a software application, where people must log into to a server somewhere on the web to be able to use. Meaning the program itself is free to download but to log in, users subscribe to a plan. This is handled by the server, on the web, where it is possible for people to register a subscription. Qt licenses ( which I want to use), are open source and I am therefore wondering if it is required by developers to share the source code of such use case.

    Thank you in advance===,

    Mikolaj

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

      Hi and welcome to devnet,

      See the Developing with LGPL part of the Qt Licensing Terms.

      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
      • M mikoo1991

        Hello,
        I have a little question about Qt GPL / GNU licenses. The problem I'm talking about is about a software application, where people must log into to a server somewhere on the web to be able to use. Meaning the program itself is free to download but to log in, users subscribe to a plan. This is handled by the server, on the web, where it is possible for people to register a subscription. Qt licenses ( which I want to use), are open source and I am therefore wondering if it is required by developers to share the source code of such use case.

        Thank you in advance===,

        Mikolaj

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @mikoo1991 Just to add to @SGaist, some Qt modules are not LGPL licenced (like QtCharts, which is licensed GPLv3).

        If you want to use them, you have to respect the GPL.

        Qt has to stay free or it will die.

        1 Reply Last reply
        1
        • B Offline
          B Offline
          BINALECTRUM
          wrote on last edited by
          #4

          On the server you can have open source software (example GPL) and you do not have to show code to anybody because it executes on your machine.
          However the client application must be on LGPL license or GPL.
          What it means, when you want to have closed sources you must use Qt's dynamic libraries and you can close your code except GPL modules such as QtCharts and some QtVirtualkeyboard and parts using it.
          Code parts using some GPL modules must stay open to view and you have to show it on request when somebody ask you, for example sending email and then sending back file with GPL parts... or just put it on homepage or github...

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

            @BINALECTRUM there's something very wrong here: if you use a GPL dependency in your application, then all of your application goes GPL.

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

            Pl45m4P 1 Reply Last reply
            3
            • B BINALECTRUM

              On the server you can have open source software (example GPL) and you do not have to show code to anybody because it executes on your machine.
              However the client application must be on LGPL license or GPL.
              What it means, when you want to have closed sources you must use Qt's dynamic libraries and you can close your code except GPL modules such as QtCharts and some QtVirtualkeyboard and parts using it.
              Code parts using some GPL modules must stay open to view and you have to show it on request when somebody ask you, for example sending email and then sending back file with GPL parts... or just put it on homepage or github...

              A Offline
              A Offline
              ambershark
              wrote on last edited by
              #6

              @BINALECTRUM That sounds like attempts to bypass GPL licensing and would most definitely get you in trouble.

              What it means, when you want to have closed sources you must use Qt's dynamic libraries and you can close your code except GPL modules such as QtCharts and some QtVirtualkeyboard and parts using it.

              Like @SGaist said it doesn't work like this. If you use GPL then you have to GPL your entire application. Not just the parts that use the GPL'd code. If you want closed source never use any GPL'd piece of code, it's pretty much impossible to comply with the GPL license with closed source software.

              Code parts using some GPL modules must stay open to view and you have to show it on request when somebody ask you, for example sending email and then sending back file with GPL parts... or just put it on homepage or github...

              Doesn't work like this at all. If you've done this in previous projects I'd highly recommend you hire a lawyer to interpret the GPL for you before you get caught and end up owing tons of money.

              On the server you can have open source software (example GPL) and you do not have to show code to anybody because it executes on your machine.

              This part is true since you are not actually distributing the product.

              Disclaimer: I am not a lawyer so while I'm pretty sure my understanding of the GPL is closer than @BINALECTRUM's, don't take this as legal advice, it may not hold up in court. ;)

              My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

              1 Reply Last reply
              3
              • SGaistS SGaist

                @BINALECTRUM there's something very wrong here: if you use a GPL dependency in your application, then all of your application goes GPL.

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

                @SGaist

                So if you create an app using only LGPL modules, you can share your app without showing the complete source code?!

                Your link (https://www1.qt.io/qt-licensing-terms/) here

                part of the Qt Licensing Terms.

                redirects to Qt's download section... Is that page not available anymore? There was this nice overview of what is allowed when using the different Qt Licensing models, but I can't find it anymore...


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

                ~E. W. Dijkstra

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

                  I do not know where that table went, sorry.

                  Indeed, you do not need to share your application code when linking to LGPL dependencies. What you have to share is the changes you may have made to these dependencies.

                  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
                  • Pl45m4P Pl45m4

                    @SGaist

                    So if you create an app using only LGPL modules, you can share your app without showing the complete source code?!

                    Your link (https://www1.qt.io/qt-licensing-terms/) here

                    part of the Qt Licensing Terms.

                    redirects to Qt's download section... Is that page not available anymore? There was this nice overview of what is allowed when using the different Qt Licensing models, but I can't find it anymore...

                    JKSHJ Offline
                    JKSHJ Offline
                    JKSH
                    Moderators
                    wrote on last edited by
                    #9

                    @Pl45m4 said in I'm using Qt Open Source, not selling the software, and need to keep source code hidden.:

                    Your link (https://www1.qt.io/qt-licensing-terms/) here

                    ...

                    redirects to Qt's download section... Is that page not available anymore? There was this nice overview of what is allowed when using the different Qt Licensing models, but I can't find it anymore...

                    Here's an archived copy: https://web.archive.org/web/20180803215256/https://www1.qt.io/qt-licensing-terms/

                    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                    1 Reply Last reply
                    3

                    • Login

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