[Qt-interest] building static executables

Lorenzo Bettini bettini at dsi.unifi.it
Fri Jun 5 10:00:19 CEST 2009


Malyushytsky, Alex wrote:
> On Windows at least with MSVC, QT 4 does not support completely static builds because it will be still using dynamic CRTs.
> 

thus I should distribute also other dlls?
If so, how could I know which ones to distribute?

thanks
	Lorenzo

> Regards,
>     Alex
> 
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Lorenzo Bettini
> Sent: Thursday, June 04, 2009 9:18 AM
> To: qt-interest at trolltech.com
> Subject: [Qt-interest] building static executables
> 
> Hi
> 
> If I need to build a static executable, completely static, is it just a
> matter of adding
> 
> CONFIG += static
> 
> or should I have a version of qt itself built statically?
> 
> thanks in advance
>         Lorenzo
> 
> --
> Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
> ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
> HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
> http://www.myspace.com/supertrouperabba
> BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
> http://www.gnu.org/software/src-highlite
> http://www.gnu.org/software/gengetopt
> http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
> 
> 
> ---------------------------------------------------------------------------------------------------
> Weidlinger Associates, Inc. made the following annotations.
> 
> "This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you."
> 
> "Please consider our environment before printing this email."


-- 
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net




More information about the Qt-interest-old mailing list