<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- platform-notes.qdoc --> <title>Platform and Compiler Notes - Windows | QtDoc 5.1</title> <link rel="stylesheet" type="text/css" href="style/offline.css" /> </head> <body> <div class="header" id="qtdocheader"></div> <div class="content"> <div class="line"> <div class="content mainContent"> <p class="naviNextPrevious headerNavi"> </p><p/> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#windows-vista-windows-7-windows-8">Windows Vista, Windows 7, Windows 8</a></li> <li class="level1"><a href="#windows-xp">Windows XP</a></li> <li class="level2"><a href="#installation-location">Installation location</a></li> <li class="level2"><a href="#possible-gl-conflict">Possible GL conflict</a></li> <li class="level2"><a href="#gcc-mingw-builds">GCC (MinGW-builds)</a></li> <li class="level2"><a href="#intel-c-compiler-windows-altix">Intel C++ Compiler (Windows, Altix)</a></li> <li class="level2"><a href="#visual-studio-windows">Visual Studio (Windows)</a></li> </ul> </div> <h1 class="title">Platform and Compiler Notes - Windows</h1> <span class="subtitle"></span> <!-- $$$platform-notes-windows.html-description --> <div class="descr"> <a name="details"></a> <p>This 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 <a href="supported-platforms.html">Supported Platforms</a> page.</p> <a name="windows-vista-windows-7-windows-8"></a> <h2>Windows Vista, Windows 7, Windows 8</h2> <p>At the time Qt 5.1.1 was released, there were no known issues on these platforms.</p> <a name="windows-xp"></a> <h2>Windows XP</h2> <a name="installation-location"></a> <h3>Installation location</h3> <p>Installing Qt into a directory with spaces, e.g. C:\Program Files, may cause linker errors like the following:</p> <pre class="cpp">c:\program<span class="operator">.</span>obj <span class="keyword">not</span> found</pre> <p>Install Qt into a subdirectory without spaces to avoid this problem.</p> <a name="possible-gl-conflict"></a> <h3>Possible GL conflict</h3> <p>There 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.</p> <a name="gcc-mingw-builds"></a> <h3>GCC (MinGW-builds)</h3> <p>We have tested Qt with this compiler on Windows 7. The minimum version of <a href="http://www.mingw.org/">MinGW</a>-builds supported is GCC 4.7.2. <a href="http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.7.2/32-bit/threads-posix/sjlj/x32-4.7.2-release-posix-sjlj-rev8.7z">MinGW-builds GCC 4.7.2 32 bit, rev 8</a> and later should be able to build Qt including QtWebKit.</p> <a name="intel-c-compiler-windows-altix"></a> <h3>Intel C++ Compiler (Windows, Altix)</h3> <p>Qt has been tested successfully with:</p> <ul> <li>Windows - Intel(R) C++ Compiler for 32-bit applications, Version 9.1.040.</li> <li>Altix - Intel(R) C++ Itanium(R) Compiler for Itanium(R)-based applications Version 8.1 Build 20050406 Package ID: l_cc_pc_8.1.030</li> </ul> <a name="visual-studio-windows"></a> <h3>Visual Studio (Windows)</h3> <p>We do most of our Windows development on Windows 7, using Microsoft Visual Studio 2008, Visual Studio 2010 or Visual Studio 11 (mostly 64bit).</p> <p>We recommend using Visual Studio 2010 or higher as it supports some C++11 features beneficial to performance and memory usage.</p> <p>Qt works with all editions of Visual Studio.</p> <p>In order to use Qt with the Visual Studio Express Editions you need to download and install the Windows SDK.</p> <p>The Visual C++ Linker doesn't understand filenames with spaces (as in <tt>C:\Program files\Qt\</tt>) so you will have to move it to another place, or explicitly set the path yourself; for example:</p> <pre class="cpp">QTDIR<span class="operator">=</span>C:\Progra<span class="operator">~</span><span class="number">1</span>\<span class="type">Qt</span></pre> <p>If you are experiencing strange problems with using special flags that modify the alignment of structure and union members (such as <tt>/Zp2</tt>) then you will need to recompile Qt with the flags set for the application as well.</p> <p>Visual Studio 2010 should be updated to Service Pack 1. Otherwise, a problem when compiling Qt for 64-bit in release mode may occur (see http://support.microsoft.com/kb/2280741).</p> </div> <!-- @@@platform-notes-windows.html --> <p class="naviNextPrevious footerNavi"> </p> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.</p> <br /> <p> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.</p> <p> Documentation sources may be obtained from <a href="http://www.qt-project.org"> www.qt-project.org</a>.</p> <br /> <p> Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. <a title="Privacy Policy" href="http://en.gitorious.org/privacy_policy/">Privacy Policy</a></p> </div> </body> </html>