[Qt-interest] Minimal Qt/X11 compile
Thiago Macieira
thiago at kde.org
Wed Oct 6 00:15:57 CEST 2010
On Tuesday 5. October 2010 21.30.06 Konrad Rosenbaum wrote:
> -no-stl ............ Do not compile STL support.
>
> lose integration between Qt templates with STL templates, does not save
> much space
Not really. You don't lose the integration and it makes no difference in space.
It does make the build slightly faster since STL headers aren't included.
If you need STL support, just make sure you have a #define QT_STL before
including Qt headers.
The STL functionality is entirely inline on Unix.
> -no-iconv .......... Do not compile support for iconv(3).
>
> lose encoding conversion support (UTF-8 and ASCII should still work, any
> other encoding might be lost)
iconv is used only for the "System" encoding, i.e., the locale. If you use -
no-iconv, then QString::fromLocal8Bit and toLocal8Bit may be wrong. (unlikely)
> -reduce-relocations ..... Reduce relocations in the libraries
>
> may reduce the time to start an app, may also make it a bit less stable
> (it's experimental)
Not experimental, highly recommended, should be default.
> -no-separate-debug-info . Do not store debug information in a separate
> file.
>
> the inverse of a saver if you build with debug info - the shared object
> files become MUCH bigger; in -release mode you lose the ability to debug Qt
This is the inverse of the Qt 4.2-4.6 behaviour: the debug information is no
longer split out of the .so file by default. It simply remains where it is.
If you don't want it, you'll have to strip the binaries. There's no loss of
functionality even in the debugger -- in fact, it may retain some, since there
are conditions when the separate debug info was wrong.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101006/6fff1d42/attachment.bin
More information about the Qt-interest-old
mailing list