REM ********** Set up qt source env **********
SET _ROOT=E:\qt5.9.1source
SET PATH=%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;%PATH%
REM Uncomment the below line when using a git checkout of the source repository
REM SET PATH=%_ROOT%\qtrepotools\bin;%PATH%
SET _ROOT=

REM ********** Set up qt source env **********
SET _ROOT=E:\qt5.9.1source
SET PATH=%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;%PATH%
REM Uncomment the below line when using a git checkout of the source repository
REM SET PATH=%_ROOT%\qtrepotools\bin;%PATH%
SET _ROOT=

]]>https://forum.qt.io/post/411213https://forum.qt.io/post/411213Sat, 19 Aug 2017 02:29:43 GMTHi, it's very time consuming to compile 5.9.1 for WIndows XP, there are many places in the source that needs to be patched or commented out, the error you got is one example, 5.9.1 uses the function GetFileInformationByHandleEx which requires Windows Vista or later, so you need to remove that code from fileIdWin8().