[Qt-interest] How to make exes work without dependencies
Scott Aron Bloom
Scott.Bloom at sabgroup.com
Tue Aug 18 00:12:42 CEST 2009
If you use a statically bound lib, vs the shared, and you are only using
a small portion of the GUI libraries... Your releases will be much much
smaller.
However, the more you use from the library, or if you have more than 1
app that you distribute, the overall size will be smaller with share.
Scott
-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Malyushytsky,
Alex
Sent: Monday, August 17, 2009 2:26 PM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] How to make exes work without dependencies
As I already mentioned you should deploy only release version.
It means you don't need debug libraries.
Release version is smaller and total size of the executable + dlls will
not differ that much from the statically build executable size, if you
don't include in your project QT modules you don't need.
QtGui4.dll build on my QT 4.4.3 with MSVC 2005 is only 10 560 000,
QtGui4.dll (which you don't even need - BUILD RELEASE) is 15 443 458. I
have no idea how you get 104 mb.
Restrictions and limitations are mostly related to using plugins and
some QT modules will not be build.
Since I am not as good as QT documentation I will encourage you to look
there for more information about this topic.
Regards,
Alex
-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of rajasekharan
Sent: Saturday, August 15, 2009 1:48 AM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] How to make exes work without dependencies
> Instead you can deploy or make accessible on your computer QT
libraries and other dependencies. QT provides documentation how it can
be done: http://doc.trolltech.com/4.1/deployment-windows.html
That's the problem, even if the application is very small ~10mb, one has
to distribute a 104mb dll file for some modules (i think the Qt4GUId
itself is that big, not sure which one.
What are these restrictions on deploying a application statically that
you mentioend?
Kind Regards,
Raja Sekharan
_______________________________________________
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."
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list