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. Constrains of LGPL of Qt
QtWS: Super Early Bird Tickets Available!

Constrains of LGPL of Qt

Scheduled Pinned Locked Moved General and Desktop
31 Posts 13 Posters 32.9k 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
    loladiro
    wrote on last edited by
    #10

    I think you can use any license as long as you allow the final recipient to switch the LGPL library (or reverse engineer and debug it) to fix any bug that could arise in it (the library). There is also a special LGPL exception granted by Nokia concerning the headers (because they are used directly in your app). What you can't do is modify Qt and not tell anyone (i.e you either have to merge your changes into Qt or provide the sourcecode of your modification).

    1 Reply Last reply
    0
  • G Offline
    G Offline
    giesbert
    wrote on last edited by
    #11

    The commercial license allowes you to modify Qt without telling anybody about the changes, write closed code without giving anybody any source of anything :-)

    Just the binaries for money. That's what we do in out company. You only have to state some copyrights in your about texts and handbooks.

    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
  • I Offline
    I Offline
    iamcreasy
    wrote on last edited by
    #12

    bq. LGPL section 6 requirement , that “Terms permit modification for customer’s own use & reverse engineering for debugging such modifications.”

    @loladiro that means its about the distributed dll files of QT. Not the application itself.

    1 Reply Last reply
    0
  • L Offline
    L Offline
    loladiro
    wrote on last edited by
    #13

    Yes it only applies to modifications you make to the library and provides the end user with the possibility to fix your version of Qt (the binaries you deploy with your app) should they discover a bug.

    1 Reply Last reply
    0
  • I Offline
    I Offline
    iamcreasy
    wrote on last edited by
    #14

    That's pretty sweet.

    But, why nokia would doing something so open?

    Its like using it commercially without any string attached!

    1 Reply Last reply
    0
  • L Offline
    L Offline
    loladiro
    wrote on last edited by
    #15

    Using: Yes as long as you dynamically link it (some companies prefer static linking)
    Modifing (and enhancing): Not without contributing back to Qt (which is possibly more valuable to Nokia)
    Also, Commercial users still like to buy the priority support.
    And by getting many people to use Qt, they can establish it as a de facto standard.

    1 Reply Last reply
    0
  • EddyE Offline
    EddyE Offline
    Eddy
    wrote on last edited by
    #16

    The official answer is here :
    "link":http://developer.qt.nokia.com/faq/answer/why_is_qt_released_under_lgpl

    Edit :

    @loladiro
    You're fast!

    Qt Certified Specialist
    www.edalsolutions.be

    1 Reply Last reply
    0
  • I Offline
    I Offline
    iamcreasy
    wrote on last edited by
    #17

    Fantastic. Thank you.

    This thread should be sticky. I have seen many people questioning about QT's restriction while choosing LGPL.

    1 Reply Last reply
    0
  • EddyE Offline
    EddyE Offline
    Eddy
    wrote on last edited by
    #18

    You could add [sticky] in your title as we do with [solved].
    Maybe the trolls will pick it up.

    Qt Certified Specialist
    www.edalsolutions.be

    1 Reply Last reply
    0
  • M Offline
    M Offline
    mgran
    wrote on last edited by
    #19

    [quote author="Eddy" date="1307995853"]
    You could add [sticky] in your title as we do with [solved].
    Maybe the trolls will pick it up.[/quote]

    <offtopic>

    Sorry, a sticky will have to be truly exceptional - we try to avoid them as a general thought. Especially in high traffic forums. I think we have 3 stickies in total now.

    </offtopic>

    Project Manager - Qt Development Frameworks

    1 Reply Last reply
    0
  • A Offline
    A Offline
    andre
    wrote on last edited by
    #20

    If you want to information to persist, and you think this forum post isn't a good way to do that, I suggest that you either create a wiki page for it, or attach a good docnote at the appropriate licencing page in the documentation.

    1 Reply Last reply
    0
  • EddyE Offline
    EddyE Offline
    Eddy
    wrote on last edited by
    #21

    ok, point taken.

    sorry I suggested it, but at that time it seemed to be a good idea.

    Qt Certified Specialist
    www.edalsolutions.be

    1 Reply Last reply
    0
  • M Offline
    M Offline
    mgran
    wrote on last edited by
    #22

    [quote author="Eddy" date="1308575977"]sorry I suggested it, but at that time it seemed to be a good idea.[/quote]

    Nothing to be sorry about Eddy, we would much rather have too many suggestions than too few :) Thanks!

    Project Manager - Qt Development Frameworks

    1 Reply Last reply
    0
  • I Offline
    I Offline
    iamcreasy
    wrote on last edited by
    #23

    yeh, a license page with simple Q&A using Laymen term would be a nice addition to the wiki.

    I would like to do it. :) In fact the questions and answers are in a perfect order, just copy pasting and rearranging a little will do the job.

    1 Reply Last reply
    0
  • S Offline
    S Offline
    SamuelTee
    wrote on last edited by
    #24

    Ok, sorry guys. I have to pop this thing up again since I can not afford a lawyer (I would just buy the commercial licence if I could) :-)

    If I understand correctly (and thats what this is all about: interpretation :-) I just have to make the changes I made to Qt itself public, bot the source code of my own exe binary?

    I made one Qt DLL out of QtCore, QtGui, QtXml and QtNetwork, packed it using UPX and linked my exe dynamically to it. This reduces dramatically the installation package. So is that compliant with LGPL?

    Thanks,
    Sam.

    1 Reply Last reply
    0
  • S Offline
    S Offline
    sfilippidis
    wrote on last edited by
    #25

    [quote author="SamuelTee" date="1311053391"]... I made one Qt DLL out of QtCore, QtGui, QtXml and QtNetwork, packed it using UPX and linked my exe dynamically to it. This reduces dramatically the installation package. ...[/quote]

    <offtopic>
    I do not have an answer to your question, but I have ... two questions for you, from a technical point of view:

    a) Can you provide some additional details on how you did this?
    b) Will your executable work with the "standard" Qt-dll files?
    </offtopic>

    https://www.filippidis.name/

    1 Reply Last reply
    0
  • S Offline
    S Offline
    saidiahd
    wrote on last edited by
    #26

    you can find more information in this link "GNU project ":http://www.gnu.org/philosophy/why-not-lgpl.html

    "Learn from yesterday, live for today, hope for tomorrow." - Albert Einstein -

    1 Reply Last reply
    0
  • A Offline
    A Offline
    alexisdm
    wrote on last edited by
    #27

    [quote author="SamuelTee" date="1311053391"]I made one Qt DLL out of QtCore, QtGui, QtXml and QtNetwork, packed it using UPX and linked my exe dynamically to it. This reduces dramatically the installation package. So is that compliant with LGPL?[/quote]That big Qt DLL represents clearly a -derived work- work based on the Qt Library, that means you need to provide all the source code needed to rebuild it.

    But the LGPL 2.1 (in the preamble which is in plain English or sections 6a & 6c) and LGPL 3 (section 4d0) do explicitly allow static linking, so you might be able to further reduce the size of your application without modifying Qt itself, as long as you provide a way (6a) or just a written offer for that way (6c) to relink your application with a modified version of the library.

    1 Reply Last reply
    0
  • S Offline
    S Offline
    SamuelTee
    wrote on last edited by
    #28

    @Stavros
    a)
    Well I just created a new folder under /Qt/src (such as /Qt/src/QtBase) and copied all the stuff from /Qt/src/corelib, /Qt/src/gui, /Qt/src/xml and /Qt/src/network into it (I had to rename some *.pri files to avoid duplicity). After that I created a new pro file for it ... and compiled.

    b) No. It will not.

    @alexisdm
    I know that my "single Qt DLL" is a derived work (and therefor I need to provide the above mentioned info). But is my own exe (linked against this derived-"single Qt DLL") also such a derived work or not?

    1 Reply Last reply
    0
  • M Offline
    M Offline
    mgran
    wrote on last edited by
    #29

    @SamuelTee: This blog post written by our legal council is recommended reading: http://blog.qt.nokia.com/2009/11/30/qt-making-the-right-licensing-decision/. Also check out her detailed answer to the questions in the comments.

    Project Manager - Qt Development Frameworks

    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