Sunday, February 22, 2009

Building QT4 static library in VC8.0

The QT open source since 4.4 provides builds for Visual C++. Unfortunately the default VC compiler flag is -MD (or -MDd for debug build), which means that the C runtime library is dynmically linked - which also means that you have to carry the MSCRT.DLL everywhere). It is not desirable for our project settings.

I did some research and found a utility called coolbuilder. It can build static lib. However, it proves to be a sh*t, as it failed to build. Worse, it sends out information without my permission.

No comments: