Compiler Notes - Visual C++

Compiler Notes - Visual C++

We do most of our Windows development on 95/98, NT, 2000, and XP, using Microsoft Visual C++ 6.0 and Visual Studio .Net. We no longer support version 5 and earlier.

The VC Linker doesn't grok filenames with spaces (as in C:\Program files\Qt\) so you will have to move it to another place, or explicitly grok it yourself (QTDIR=C:\Progra~1\Qt).

Visual C++ 6.0 has various bugs which may cause compiler errors or incorrect behavior in Qt programs. All reported bugs are fixed by installing Service Pack 5.

If you are experiencing strange problems with using special flags that modify the alignment of structure and union members (such as /Zp2) then you will need to recompile Qt with the flags set for the application as well.

The Visual C++ Toolkit 2003 does not contain a make tool or a suitable C runtime. It is therefore unfortunately impossible for us to support it.


Copyright 2008, Trolltech ASA