Results 1 to 6 of 6

Thread: LGPL question

  1. #1
    Join Date
    Jan 2010
    Posts
    3
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default LGPL question

    Hello,

    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 mingw on Windows. The application will be dynamically linked to the Qt library, and also dynamically linked to any other libraries from mingw. The source code of the application is proprietary.

    Firstly, based upon the license information found on the mingw site (http://www.mingw.org/wiki/FAQ), it's my understanding that the DLLs
    - libgcc_s_dw2-1.dll
    - mingwm10.dll
    fall under public domain. Is this correct? Or does libgcc_s_dw2-1.dll not fall under the definition of the "MinGW runtime"?

    Concerning Qt and the LGPL license, as I have not modified any part of the library, I believe section 6 applies.

    Section 6 says:
    As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications.
    My application would be a "work that uses the Library", thus I can distribute only the executable to my application, and not the source code. Correct? And it's my understanding that the last part, says that whatever terms I release my application under, I cannot expressly forbid reverse engineering it? Is this Correct?

    Now, when I ship my application, I would need to include the mingw related DLLs as described above, and also:
    - 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?

    tl;dr I am releasing an application which uses the LGPL version of Qt. Can I keep my application's source code proprietary, and freely distribute the Qt shared libraries (DLLs)? And, what other obligations do I have to the terms of the LGPL?

    Thank you if you've read this far, this is my first commercial work, and I am a little paranoid about my obligations to licensing issues. I appreciate any answers to the questions above.

    Thank you.

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: LGPL question

    Sounds fine to me - you've made no changes to the libraries, you have linked dynamically, so people can update the GPL parts if they require. You can keep your source code close to your chest, as you have not used any GPL code from Qt apart from headers and objects which is accepted in the Nokia license exemption (its in the Qt dir if you want to read it yourself)

    You can ship the library files which your application needs, as long as you link to the full library and source code, which you intend to do.

    So I see no problems.

    Not sure about forbidding "reverse engineering", but it doesn't make much difference to be honest. Anyone who wishes to, will do so anyway, regardless of the license.

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: LGPL question

    Firstly, based upon the license information found on the mingw site (http://www.mingw.org/wiki/FAQ), it's my understanding that the DLLs
    - libgcc_s_dw2-1.dll
    - mingwm10.dll
    fall under public domain. Is this correct? Or does libgcc_s_dw2-1.dll not fall under the definition of the "MinGW runtime"?
    libgcc_s_dw2-1.dll is part of GCC and governed by the GPL v3 Runtime Library Exception http://www.gnu.org/licenses/gcc-exception.html as far as I can tell. While the exception clearly gives permissions:
    You have permission to propagate a work of Target Code formed by combining the Runtime Library with Independent Modules, even if such propagation would otherwise violate the terms of GPLv3, provided that all Target Code was generated by Eligible Compilation Processes. You may then convey such a combination under terms of your choice, consistent with the licensing of the Independent Modules.
    the only way to determine the "Runtime Library" code that this applies to is to read each and every source file that contributes to the DLL concerned. This is far from convenient to ensure compliance. If someone can point to a concrete statement that this library is covered by the exception then I'd love to see it.

  4. #4
    Join Date
    Mar 2010
    Posts
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: LGPL question

    From my understanding (and I'm not a lawyer), you can distribute the binaries under your own terms as long as you specify that you use third-party components released under their own terms (including their licenses). To use components that are licensed under the LGPL you must allow the user to modify the components under that license and use that modified component with your application (see "provided that the terms permit modification of the work for the customer's own use"). To accomplish that, you could dynamically load the LGPL'ed components at runtime (like plugins) or provide the object files of your application, so that the user can recompile your application against the modified library. Before distributing anything, make sure you understand all the terms and conditions of all the components that you choose to distribute. You might even consider consulting a lawyer.

  5. #5
    Join Date
    Nov 2007
    Posts
    89
    Thanked 21 Times in 18 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: LGPL question

    Quote Originally Posted by tim47 View Post
    tl;dr I am releasing an application which uses the LGPL version of Qt. Can I keep my application's source code proprietary, and freely distribute the Qt shared libraries (DLLs)?
    Yes: http://qt.nokia.com/developer/faqs/70/

  6. #6
    Join Date
    May 2009
    Posts
    55
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: LGPL question

    Hi,
    have similar problem. Writing qt application which after release will be free (no cost),
    But I'm not sure about licencing of libgcc_s_dw2-1.dll and mingwm10.dll. After reading upper items it seems it's GPL.
    So can I link dynamically those dll's?
    E.g. release directory will contain LGPL dll for QT with LGPL licence file and mingwm dll's with linecence file?
    Could this make any problems for violating some of licenece?

    Thanks for clarification.

Similar Threads

  1. Question about LGPL 2.1
    By giowck in forum Installation and Deployment
    Replies: 2
    Last Post: 19th May 2010, 06:55
  2. Another question to clarify licensing under LGPL.
    By Alex_123 in forum General Discussion
    Replies: 3
    Last Post: 20th October 2009, 17:31
  3. LGPL question
    By tommy in forum Installation and Deployment
    Replies: 4
    Last Post: 25th March 2009, 21:59
  4. LGPL Questions
    By mhoover in forum General Discussion
    Replies: 4
    Last Post: 2nd February 2009, 09:08
  5. Qt 4.5 to be released under LGPL
    By mhatch in forum Qt-based Software
    Replies: 23
    Last Post: 17th January 2009, 21:17

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.