August 25, 2010

szh1 szh1
Lab Rat
126 posts

Get Static Qt

 

Is there somewhere I can get Qt already configured statically?

12 replies

August 26, 2010

Luca Luca
Ant Farmer
589 posts

To get static Qt I compiled it my self.

I think it’s the only way.

August 26, 2010

anselmolsm anselmolsm
Ant Farmer
417 posts

Officially, Qt is not distributed statically linked.

As Luca said, you need to build it yourself, and you can read more about that here [doc.qt.nokia.com] , including specific notes for each platform.

 Signature 

Anselmo L. S. Melo (anselmolsm)
www.anselmolsm.org

August 26, 2010

szh1 szh1
Lab Rat
126 posts

Thanks. If I use the LGPL version of Qt, can I legally compile my Qt application statically?

August 26, 2010

viswesr viswesr
Lab Rat
13 posts

LGPL only allows dynamic linking. You may have to use GPL / commercial version of Qt if static linking is required.

August 26, 2010

szh1 szh1
Lab Rat
126 posts

Does this apply even if my project is open-source?

August 26, 2010

viswesr viswesr
Lab Rat
13 posts

Yes. For Free and open source project you can choose to use GPL license.

August 26, 2010

Denis Kormalev Denis Kormalev
Lab Rat
1654 posts
szh1 wrote:
Thanks. If I use the LGPL version of Qt, can I legally compile my Qt application statically?

Better is not to use LGPL Qt library statically linked.

August 26, 2010

szh1 szh1
Lab Rat
126 posts

Do I have to pay to get it GPL?

August 26, 2010

Denis Kormalev Denis Kormalev
Lab Rat
1654 posts
szh1 wrote:
Do I have to pay to get it GPL?

No, GPL is free for use as LGPL. GPL is more restrictive license than LGPL.

August 26, 2010

anselmolsm anselmolsm
Ant Farmer
417 posts
Denis Kormalev wrote:
No, GPL is free for use as LGPL. GPL is more restrictive license than LGPL.

Yes, both are free for use. The main difference between them is that with the GPL license your application must be GPL too.

 Signature 

Anselmo L. S. Melo (anselmolsm)
www.anselmolsm.org

August 26, 2010

szh1 szh1
Lab Rat
126 posts

Thanks for the help!

August 26, 2010

viswesr viswesr
Lab Rat
13 posts

Read this post: Qt: Making the right licensing decision [blog.qt.nokia.com] and also the comments by Cristy Hamley. A very good differentiation between static and dynamic linking is presented.

 
  ‹‹ QT Creator 2.0 pro file issue      qvfb ››

You must log in to post a reply. Not a member yet? Register here!