[Qt-interest] Is it a correct static build?
Diego Schulz
dschulz at gmail.com
Mon Oct 12 16:54:36 CEST 2009
On Mon, Oct 12, 2009 at 10:45 AM, M. Bashir Al-Noimi <mbnoimi at gmx.com>wrote:
> M. Bashir Al-Noimi wrote:
>
> Hi All,
>
> I've rebuilt Qt toolkit in static mode by passing the following arguments
> to configure application:
>
> configure -release -static -opensource -ltcg -fast -no-exceptions -qt-sql-sqlite -plugin-sql-sqlite -no-qt3support -qt-zlib -qt-libpng -qt-libtiff -qt-libjpeg -webkit
>
>
> I tried to create a new application and I found that it's working fine
> (hello world application's size became about 7MB), but I'm not sure if it
> became a fully standalone application.
>
>
> - Is my application will working fully standalone when I use SQL and
> Webkit modules?
> - Do I need any additional libraries for running SQLite and QWebkit
> applications?
> - I noticed that my application doesn't need mingwm10.dll in windows,
> is it a correct behavior?
>
> Is there any response?
>
> I just want to be that my applications will work fine before uploading them
> to http://sourceforge.net/
>
>
I'd suggest you to use the 'strip' tool to strip unused symbols from the
binary, reducing its size.
After that, upx (upx.sourceforge.net) can be of help too, it will compress
your binary.
To see what are the dependencies your binary needs, you can use Dependency
Walker (www.dependencywalker.com).
HTH,
diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091012/3b3ff433/attachment.html
More information about the Qt-interest-old
mailing list