<div dir="ltr">I'm building from source on windows. Have followed the instructions at <a href="http://qt-project.org/doc/qt-5/windows-building.html">http://qt-project.org/doc/qt-5/windows-building.html</a> and <a href="http://qt-project.org/doc/qt-5/windows-requirements.html">http://qt-project.org/doc/qt-5/windows-requirements.html</a>, installed runtime and build dependencies (ICU 53.1, active perl, ruby, python 2.7.8, certain they are accessible on PATH), installed the Visual C++ 2010 SP1 and SDK 7.1 and compiler update, DirectX SDK, but when I attempt to build the sources from the single zip qt-everywhere-opensource-src-5.3.1.tar.gz, I eventually run into an error which others have reported in the past (someone posted the error message posted at <a href="https://gist.github.com/azbesthu/3699271">https://gist.github.com/azbesthu/3699271</a>) as a missing build dependency in some project file. But the few hits on google seem to indicate that the problem has already been resolved. Has anyone been successful building from source on windows, including qtwebkit?<div>
<br></div><div>The bld.bat script I have been using is here:<br><div><br></div><div><br></div><div><div>:: may need to change these depending on environment:</div><div>CALL "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64</div>
<div><br></div><div>set QMAKESPEC=win32-msvc2010</div><div><br></div><div>cd C:\Users\darren\qt5</div><div><br></div><div>set SRC_DIR=C:\Users\darren\qt5</div><div>set PREFIX=C:\Users\darren\qtlib</div><div><br></div><div>
:: set path to find resources shipped with qt-5:</div><div>set PATH=%SRC_DIR%\gnuwin32\bin;%PATH%</div><div>set PATH=%SRC_DIR%\qtrepotools\bin;%PATH%</div><div>set PATH=%SRC_DIR%\qtbase\bin;%PATH%</div><div><br></div><div>
:: make sure we can find ICU:</div><div>set INCLUDE=%PREFIX%\include;%INCLUDE%</div><div>set LIB=%PREFIX%\libs;%LIB%</div><div>set PATH=%PREFIX%\DLLs;%PATH%</div><div><br></div><div>:: this needs to be CALLed due to an exit statement at the end of configure:</div>
<div>CALL configure -prefix %PREFIX% ^</div><div>      -libdir %PREFIX%\lib ^</div><div>      -bindir %PREFIX%\lib\qt5\bin ^</div><div>      -headerdir %PREFIX%\include\qt5 ^</div><div>      -archdatadir %PREFIX%\lib\qt5 ^</div>
<div>      -datadir %PREFIX%\share\qt5 ^</div><div>      -opensource ^</div><div>      -confirm-license ^</div><div>      -no-warnings-are-errors ^</div><div>      -nomake examples ^</div><div>      -nomake tests ^</div><div>
      -fontconfig ^</div><div>      -qt-libpng ^</div><div>      -qt-zlib</div><div><br></div><div>jom</div><div>nmake install</div></div></div></div>