Errors with Qt 5.1.1 x64 shadow build on Windows
-
I downloaded the zip file, unzipped the source and have created a separate folder from which to do my builds. I am running from with a VS 2010 x64 cmd prompt. Here is the script I am using to try and do my build (I replaced "cd" w/ "cdir" to make the post readable):
@set OUTPUT_DIR=%currdir%..\output
set ICU_ROOT= %currdir%..........\icu\50.1.2\local-w32-x64\Release
set OPENSSL_ROOT=%currdir%..........\openssl\1.0.1e\local-w32-x64\releaseSET PATH=%ICU_ROOT%\bin64;%currdir%\qtbase\bin;%PATH%
call %currdir%..\qt-everywhere-opensource-src-5.1.1\configure -prefix %OUTPUT_DIR% -archdatadir %OUTPUT_DIR%\arch -debug-and-release -force-debug-info -opensource -confirm-license -nomake examples -nomake tests -platform win32-msvc2010 -opengl desktop -qt-zlib -qt-libpng -qt-libjpeg -icu -openssl-linked -audio-backend -mp -I %ICU_ROOT%\include -L %ICU_ROOT%\lib64 -I %OPENSSL_ROOT%\include -L %OPENSSL_ROOT%\lib
nmake
nmake install
@
The first error I get is:
qtsvg\src\svg\qsvgtinydocument.cpp(58) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directoryI looked at the cl statement and it has an include path for <shadowdir>\qtbase\include\QtZlib but that directory does not exist in my shadow path. Almost all of the other directories are in qtbase\include (based on what I saw in the source) but that one wasn't copied. I manually copied it and then got an error later about a missing header file in qtsensor which looked like incorrect include paths.
Can someone let me know what I am doing wrong? I have tried to follow all of the docs I could find but it does not seem to work. I need to be able to build for different archs so I would like to use the shadow build.
Thanks
Lee