[Development] Building Qt5 on windows

Thiago Macieira thiago.macieira at intel.com
Thu Sep 13 14:37:55 CEST 2012


On quinta-feira, 13 de setembro de 2012 14.57.50, Алексей Павлов wrote:
> *configure -prefix %QTINSTDIR% -opensource -confirm-license
> -developer-build -debug-and-release -no-fast -plugin-sql-ibase
> -plugin-sql-mysql -plugin-sql-psql -no-dbus -no-iconv -icu -fontconfig
> -system-pcre -fully-process -openssl -platform win32-g++ -nomake tests
> -nomake examples -I %EXTRA%\include -I %EXTRA%\include\libxml2 -L
> %EXTRA%\lib > %CURRDIR%qt5-configure.log*
> 
> I have next configuration: http://tny.cz/b6b968d0
> Than I build with command mingw32-make and get error on QtSvg module:
> *qsvgtinydocument.cpp:58:18: fatal error: zlib.h: No such file or directory*
> compilation terminated.
> *qsvgtinydocument.cpp:58:18: fatal error: zlib.h: No such file or directory*
> compilation terminated.
> *mingw32-make[4]: *** [release/qsvgtinydocument.o] Error 1*
> *mingw32-make[4]: *** Waiting for unfinished jobs....*
> *mingw32-make[4]: *** [debug/qsvgtinydocument.o] Error 1*
> *mingw32-make[4]: *** Waiting for unfinished jobs....*
> *mingw32-make[3]: *** [debug-all] Error 2*
> *mingw32-make[3]: *** Waiting for unfinished jobs....*
> *mingw32-make[3]: *** [release-all] Error 2*
> *mingw32-make[2]: *** [sub-svg-make_first-ordered] Error 2*
> *mingw32-make[1]: *** [sub-src-make_first] Error 2*
> *mingw32-make: *** [module-qtsvg-make_first] Error 2*
> 
> But zlib.h present in c:\sdk\ported64\include. Why configure script not add
> INCLUDE and LIB to include paths and libs paths of svg module?
> Build log: http://tny.cz/b3ea0a8b

Can you attach the qtbase/mkspecs/qmodule.pri file that is generated? The 
configure output includes:
    INCLUDE=
      C:\SDK\mingw64\x86_64-w64-mingw32\include
      C:\SDK\ported64\include

So it seems correct, but I want to be sure.

Also, how did you run qmake in the qtsvg module? There's a gap in your 
description.

Finally, please don't post HTML emails. As you can see above, your plain text 
output is corrupted by having lots of * where there shouldn't be.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120913/39c131ff/attachment.sig>


More information about the Development mailing list