[Qt-interest] Static Compilation without Mingw

Gordon Schumacher gordon at rebit.com
Tue Nov 10 16:06:16 CET 2009


Raja Rokkam wrote:
> Hi All,
>
>     I have compiled Qt statically on Windows but would also like to
> remove the dependency on mingw library. Can anyone help me in this
> regard ?

I've not done it on MinGW, but in general for GCC you can add "-static
-static-libgcc" at the front the switches to GCC to get a 100% static
binary.

> Also, any pointers for static compilation on MAC OSX ?

Depends more on the compiler than the OS, really, I would think...



More information about the Qt-interest-old mailing list