qtlgpln900

Qt Creator, LGPL, and the Nokia N900


I am interested in creating closed source applications for my Nokia N900 using Qt Creator and the LGPL License, but I'm unfamiliar with how exactly I'm able to do this. I understand that I should use dynamic links vs static links when creating my application, but I'm not certain how this is done when using Qt Creator. I'm under the impression that when it builds the executable, everything is statically linked to my executable. Am I wrong? If not, how do I change the linking method?

I'm not horribly familiar with software development for Linux platforms with the intent to distribute, but I'm not intending to use any GPL/LGPL packages other than Qt for my GUI, and the API for the phone itself. I'm an independent developer, so I don't have access to an IP Lawyer or the funding required to purchase a commercial license, so I'd rather take what steps I can to ensure I do things correctly.


Solution

  • Use ldd to find out whether your application is dynamically linked. Run

    ldd <binary>
    

    and see if the Qt libraries are listed. If they are, they are linked dynamically.

    Post your project file such that we can see if it is correct for dynamic building or where to change.

    You don't need a lawyer in your situation as described. Just make sure that your distribution (binary) does not contain any alien code, e.g. Qt code (as you said: no static linking) and everything's fine.