Don't know if you worked this out yet or not but
I just compiled 5.5.1 on VS 2015 on x64 Windows 10. today I was following this guide http://doc.qt.io/qt-5/windows-building.html -- maybe this will help you or someone.
my qt5vars.cmd file looked like this:
REM Set up \Microsoft Visual Studio 2013, where <arch> is \c amd64, \c x86, etc.
CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
SET _ROOT=C:\qt\qt-5.5.1
echo --ROOT
echo %_ROOT%
SET PATH=%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;C:\Python27;C:\Perl64;C:\Ruby22-x64;%PATH%
REM Uncomment the below line when using a git checkout of the source repository
REM SET PATH=%_ROOT%\qtrepotools\bin;%PATH%
SET QMAKESPEC=win32-msvc2015
echo --QMAKESPEC
echo %QMAKESPEC%
SET _ROOT=
REM Set up \Microsoft Visual Studio 2013, where <arch> is \c amd64, \c x86, etc.
CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
SET _ROOT=C:\qt\qt-5.5.1
echo --ROOT
echo %_ROOT%
SET PATH=%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;C:\Python27;C:\Perl64;C:\Ruby22-x64;%PATH%
REM Uncomment the below line when using a git checkout of the source repository
REM SET PATH=%_ROOT%\qtrepotools\bin;%PATH%
SET QMAKESPEC=win32-msvc2015
echo --QMAKESPEC
echo %QMAKESPEC%
SET _ROOT=
To copy to clipboard, switch view to plain text mode
then typed<
configure -debug -nomake examples -opensource
Also I used Jom instead of nmake definitely sped up the process just drop the jom files in your root folder to use it.
Bookmarks