[Qt-interest] Static library distribution
Malyushytsky, Alex
alex at wai.com
Wed Jul 29 23:06:32 CEST 2009
According to the Thiago Macieira ( Senior Product Manager of - Nokia, Qt Software ) QT is already delivered in too many builds. Each build has to be tested and require additional maintenance.
So they chose what to build and what to skip. Not even all supported dynamic versions are built,
for example 64 bit Windows version is not .
Another issue is the way QT "Static" build is actually build, it is not static in the regular meaning of this word at least when build with MSVC under the Windows.
QT still links vs dynamic CRTs, means you have deliver them with your project anyway. In addition if you have any other 3rd party static libraries you can't link against them because you will get MSVCRT conflict.
It seems nobody cares about this, even though MSVC is claimed to be supported and nobody ever mentioned that you can't get static build of QT to work.
I was surprised when I switched from QT3 to QT4 that it does not anymore, but that is how it is.
I tried to enforce QT to use static CRTs, but got some unhandled exceptions in QT source.
So I am not sure about your platform/compiler, but I would advise not to use static QT builds unless your application can't function otherwise.
Regards,
Alex
-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Martin Gebert
Sent: Wednesday, July 29, 2009 12:59 AM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] Static library distribution
> Why can't developers have an option to download either
> dynamically or statically linked version of QT SDK?
>
I think it boils down to one point: The shared libs are less hassle for
about everyone (esp. WRT plugins). If you need a static lib you can
build it, deciding (having to...) what you need in and what you leave out.
Martin
_______________________________________________
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."
More information about the Qt-interest-old
mailing list