Platform and Compiler Notes - WindowsThis page contains information about the Windows platforms Qt is currently known to run on, with links to platform-specific notes. More information about the combinations of platforms and compilers supported by Qt can be found on the Supported Platforms page. Windows VistaAt the time Qt %VERSION% was released, there were no known Vista-specific issues. Windows XP, Windows 2000 and Windows NTInstallation locationInstalling Qt into a directory with spaces, e.g. C:\Program Files, may cause linker errors like the following: c:\program.obj not found Install Qt into a subdirectory without spaces to avoid this problem. Possible GL conflictThere is a known issue with running Microsoft NetMeeting, Lotus SameTime and other applications that require screen grabbing while direct rendering is enabled. Other GL-applications may not work as expected, unless direct rendering is disabled. GCC (MinGW)We have tested Qt with this compiler on Windows XP. The minimal version of MinGW supported is GCC 4.4. Note: For users of the MinGW binary package: This package is now based on MinGW 4.4. The installer no longer offers to download MinGW for you, but rather offers to use a version of MinGW that you already have installed on your machine. You just tell the installer which directory MinGW is installed in. If you don't already have MinGW 4.4 installed, you can download a .zip archive from our FTP site. This archive provides fixes to MinGW and support for missing API, See the _patches directory in the archive for details. Note: A MinGW installation is only needed to build against the binary package, not to run the pre-compiled binaries that are in the package. Intel C++ Compiler (Windows, Altix)Qt 4 has been tested successfully with:
We currently only test the Intel compiler on 32-bit Windows versions. Visual Studio (Windows)We do most of our Windows development on Windows XP, using Microsoft Visual Studio .NET 2005 and Visual Studio 2008 (both the 32- and 64-bit versions). Qt works with the Standard Edition, the Professional Edition and Team System Edition of Visual Studio 2005. In order to use Qt with the Visual Studio 2005/2008 Express Edition you need to download and install the platform SDK. Due to limitations in the Express Edition it is not possible for us to install the Qt Visual Studio Integration. You will need to use our command line tools to build Qt applications with this edition. The Visual C++ Linker doesn't understand filenames with spaces (as in C:\Program files\Qt\) so you will have to move it to another place, or explicitly set the path yourself; for example: QTDIR=C:\Progra~1\Qt 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. If you're using Visual Studio .NET (2002) Standard Edition, you should be using the Qt binary package provided, and not the source package. As the Standard Edition does not optimize compiled code, your compiled version of Qt would perform suboptimally with respect to speed. With Visual Studio 2005 Service Pack 1 a bug was introduced which causes Qt not to compile, this has been fixed with a hotfix available from Microsoft. See this Knowledge Base entry for more information. There currently is a problem when compiling Qt with Visual Studio 2010 for 64-bit. Its optimizer causes trouble and generates code that crashes for the release builds. To avoid the crashes, You need to apply the hotfix in the following article http://support.microsoft.com/kb/2280741. |