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. [SOLVED]Freely distribute the Qt shared libraries (DLLs)?

[SOLVED]Freely distribute the Qt shared libraries (DLLs)?

Scheduled Pinned Locked Moved General and Desktop
20 Posts 8 Posters 21.7k 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.
  • L Offline
    L Offline
    Loaden
    wrote on 15 Dec 2010, 00:41 last edited by
    #1

    Hi, all!
    I've developed an application using the LGPL version of Qt. I've went over the LGPL license (http://www.gnu.org/licenses/lgpl-2.1.html), but am looking for a little clarification on some things.

    I've used the Qt library without any modification, and the executable that will be shipped will be built with MSVC on Windows. The application will be dynamically linked to the Qt library. The source code of the application is proprietary.

    Now, when I ship my application, I would need to include the Qt DLLs:

    • QtCore4.dll
    • QtGui4.dll
    • ...
      My understanding of the license is that I can freely distribute these DLLs, and only need to provide a copy of the LGPL license and a location (i.e., qt.nokia.com) to download the source code of the library from. Is this Correct?

    Can I keep my application's source code proprietary, and freely distribute the Qt shared libraries (DLLs)?
    Any help are welcome.
    Thanks!!

    1 Reply Last reply
    0
    • A Offline
      A Offline
      anselmolsm
      wrote on 15 Dec 2010, 03:46 last edited by
      #2

      Yes, you are correct. LGPL allows you to keep the source code of your application closed.

      Anselmo L. S. Melo (anselmolsm)

      1 Reply Last reply
      0
      • L Offline
        L Offline
        Loaden
        wrote on 15 Dec 2010, 04:25 last edited by
        #3

        Thanks for reply!
        The key point is: Can I freely distribute the Qt shared libraries (DLLs)?

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mbroadst
          wrote on 15 Dec 2010, 07:07 last edited by
          #4

          Yes, you can.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            stukdev
            wrote on 15 Dec 2010, 08:41 last edited by
            #5

            Yes, you can. And if i understand i have to provide a way to update the library if the user want this, right?

            1 Reply Last reply
            0
            • D Offline
              D Offline
              dangelog
              wrote on 15 Dec 2010, 08:50 last edited by
              #6

              ... which you already do by using dynamic linking: the user will just have to drop in the replacements.

              Software Engineer
              KDAB (UK) Ltd., a KDAB Group company

              1 Reply Last reply
              0
              • S Offline
                S Offline
                stukdev
                wrote on 15 Dec 2010, 08:52 last edited by
                #7

                Yes, but some user don't know this simple procedure and i have to write a minimal guide for this.
                User != technician :P

                [quote author="peppe" date="1292403048"]... which you already do by using dynamic linking: the user will just have to drop in the replacements.[/quote]

                1 Reply Last reply
                0
                • ? This user is from outside of this forum
                  ? This user is from outside of this forum
                  Guest
                  wrote on 15 Dec 2010, 09:41 last edited by
                  #8

                  hi loaden, do check this out: "http://blog.qt.nokia.com/2009/11/30/qt-making-the-right-licensing-decision/":http://blog.qt.nokia.com/2009/11/30/qt-making-the-right-licensing-decision/

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    andre
                    wrote on 15 Dec 2010, 10:24 last edited by
                    #9

                    [quote author="stuk" date="1292403168"]Yes, but some user don't know this simple procedure and i have to write a minimal guide for this.
                    User != technician :P

                    [quote author="peppe" date="1292403048"]... which you already do by using dynamic linking: the user will just have to drop in the replacements.[/quote]

                    [/quote]
                    As far as I know, the LGPL does not require you to explain how to do it. Just to make it possible to do so. I don't think writing a manual that states that you can drop in newer versions of the Qt library files is needed.

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      dangelog
                      wrote on 15 Dec 2010, 10:35 last edited by
                      #10

                      [quote author="stuk" date="1292403168"]Yes, but some user don't know this simple procedure and i have to write a minimal guide for this.
                      User != technician :P

                      [quote author="peppe" date="1292403048"]... which you already do by using dynamic linking: the user will just have to drop in the replacements.[/quote]
                      [/quote]

                      The LGPL doesn't require you to make your users smarter :-)

                      Software Engineer
                      KDAB (UK) Ltd., a KDAB Group company

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        anselmolsm
                        wrote on 15 Dec 2010, 11:23 last edited by
                        #11

                        This 'allow updates' requirement is a way to guarantee your proprietary application does not depend on modifications you did in the library - it must be possible for the software to be linked with a newer version of the LGPL library (Qt, in this case :-P), not only to your Qt version. So, if you modify Qt (what is not you case, as you said), to respect LGPL you must submit the changes upstream.

                        I'm not a lawyer [1], please correct me if I'm wrong

                        [1] In 100% of the license discussions, someone must say this sentence, at least once =P

                        Anselmo L. S. Melo (anselmolsm)

                        1 Reply Last reply
                        0
                        • L Offline
                          L Offline
                          Loaden
                          wrote on 15 Dec 2010, 23:48 last edited by
                          #12

                          Thanks a lot!!

                          1 Reply Last reply
                          0
                          • D Offline
                            D Offline
                            dangelog
                            wrote on 15 Dec 2010, 23:56 last edited by
                            #13

                            [quote author="anselmolsm" date="1292412214"]I'm not a lawyer [1], please correct me if I'm wrong

                            [1] In 100% of the license discussions, someone must say this sentence, at least once =P[/quote]

                            You're absolutely right. Was thinking if this should be some kind of FAQ: "Never ever ask for legal advice on forums, mailing lists, IRC and whatsoever. Consult an IT lawyer." (?)

                            Software Engineer
                            KDAB (UK) Ltd., a KDAB Group company

                            1 Reply Last reply
                            0
                            • G Offline
                              G Offline
                              goetz
                              wrote on 16 Dec 2010, 09:40 last edited by
                              #14

                              [quote author="peppe" date="1292457362"]You're absolutely right. Was thinking if this should be some kind of FAQ: "Never ever ask for legal advice on forums, mailing lists, IRC and whatsoever. Consult an IT lawyer." (?)
                              [/quote]

                              That might not help either. If you ask three of these guys you will get four opinions....

                              http://www.catb.org/~esr/faqs/smart-questions.html

                              1 Reply Last reply
                              0
                              • D Offline
                                D Offline
                                dangelog
                                wrote on 16 Dec 2010, 09:59 last edited by
                                #15

                                [quote author="Volker" date="1292492418"][quote author="peppe" date="1292457362"]You're absolutely right. Was thinking if this should be some kind of FAQ: "Never ever ask for legal advice on forums, mailing lists, IRC and whatsoever. Consult an IT lawyer." (?)
                                [/quote]

                                That might not help either. If you ask three of these guys you will get four opinions....[/quote]

                                Haha, ok, point taken, but at least they're supposed to know the matter and you sign agreements with them, whilst on forums you have no guarantees whatsoever.

                                Software Engineer
                                KDAB (UK) Ltd., a KDAB Group company

                                1 Reply Last reply
                                0
                                • G Offline
                                  G Offline
                                  goetz
                                  wrote on 16 Dec 2010, 10:09 last edited by
                                  #16

                                  [quote author="peppe" date="1292493548]Haha, ok, point taken, but at least they're supposed to know the matter and you sign agreements with them, whilst on forums you have no guarantees whatsoever.[/quote]

                                  That's true. It's in most cases better to ask a specialized lawyer than a forum with all that "I believe that..." answers.

                                  http://www.catb.org/~esr/faqs/smart-questions.html

                                  1 Reply Last reply
                                  0
                                  • G Offline
                                    G Offline
                                    giesbert
                                    wrote on 16 Dec 2010, 10:16 last edited by
                                    #17

                                    But if you ask 3 lawyers, you perhaps get also 4 answers.
                                    Perhaps the Trolls can make a definite statement? That could then also be put to FAQ?

                                    Nokia Certified Qt Specialist.
                                    Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

                                    1 Reply Last reply
                                    0
                                    • L Offline
                                      L Offline
                                      Loaden
                                      wrote on 20 Dec 2010, 14:52 last edited by
                                      #18

                                      Hi, All, Another question that is can i distribute all files (e.g. my apps, Qt DLLs) use one package (e.g. one NSIS install package, or one zip/7z/tar.gz package) ?
                                      Many thanks!

                                      1 Reply Last reply
                                      0
                                      • A Offline
                                        A Offline
                                        andre
                                        wrote on 20 Dec 2010, 15:21 last edited by
                                        #19

                                        Sure you can*!

                                        *) Opinion of a non-lawer.

                                        1 Reply Last reply
                                        0
                                        • L Offline
                                          L Offline
                                          Loaden
                                          wrote on 29 Dec 2010, 09:22 last edited by
                                          #20

                                          Change state to SOLVED.
                                          Thanks all!

                                          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