[Qt-interest] How to do a static linking
Konstantin Tokarev
annulen at yandex.ru
Thu Feb 17 10:30:16 CET 2011
> Aside, statically linking will make the application bloat.
This statement is not correct if project is compiled into one executable file.
In this case, dynamic linking makes more bloat than static
> Then just look at files begin with libQt*.so.*, in my sample give us 2 files.
Also you need to copy other libraries which Qt depend on: zlib, fonctonfig, etc.
You may also need to copy libstdc++ if you are using RTTI or exceptions.
But don't even think about copying libdl :)
--
Regards,
Konstantin
More information about the Qt-interest-old
mailing list