[Qt-interest] QT 4.6.2 static release

Yuvraaj Kelkar yuvraaj at gmail.com
Tue Feb 23 18:38:16 CET 2010


Hi all:

1. Download QT 4.6.2 source (everywhere)
2. rename folder with suffix "-static-x86"
3. Change qmake.conf configuration for win32-msvc2008: Replace all
"MD" with "MT" s/MD/MT/g
4. Configure and complile: "./configure -debug-and-release -static"
then "nmake sub-src"
5. Compile my application "qmake ; make all"

The debug version of my application compiles perfectly, the release
version spits a ton of linker errors complaining about libcmt already
defining functions in libcpmtd.

I cannot understand why the debug static runtime is getting linked
with the release static runtime.

Any pointers?

Thanks,
Yuvraaj



More information about the Qt-interest-old mailing list