Building Qt-4.8.6 x64 on Windows with VS2013 so that it works on Win7+

Easy one. I don’t need WinXP support for 64 bits, so it’s straight forward. You’ll need VS2013 and perl install (I use ActivePerl 64 bits). We’ll do a shadow build, for this I have Qt 4.8.6 sources in C:\Qt\qt-4.8.6-src, I’ll build in C:\Qt\qt-4.8.6-build and install C:\Qt\qt-4.8.6-x64.

Start the VS2013 x64 Command Prompt.

Remove cygwin from PATH:
> set PATH=%PATH:C:\cygwin\bin;=%

We need perl for shadow build:
> set PATH=C:\Qt\Perl64\bin;%PATH%

Configure, build and install:

Leave a comment