[Development] Building Qt5 on windows
Алексей Павлов
alexpux at gmail.com
Fri Sep 14 13:04:25 CEST 2012
If I try to build Qt5 with included zlib I got errors on the begin of
build. Build log here http://tny.cz/73e00ff0
2012/9/14 Алексей Павлов <alexpux at gmail.com>:
> Another problem with building WebKit. Why during building calling MAKE
> instead of MINGW32-MAKE.
> Error below:
>
> cd qtwebkit && set
> "WEBKITOUTPUTDIR=C:/SDK/srcs/qt5/qtwebkit/WebKitBuild" && set
> "PATH=C:/SDK/srcs/qt5/gnuwin32/bin;%PATH%" && perl
> C:/SDK/srcs/qt5\qtwebkit\Tools\Scripts\build-webkit --qt
> --qmake=C:\SDK\srcs\qt5\qtbase\bin\qmake
> --install-libs=C:/SDK/Qt64/lib --qmakearg=CONFIG+=production_build
> --no-webkit2
> Unable to determine current SVN revision in C:/SDK/srcs/qt5/qtwebkit
> at C:/SDK/srcs/qt5/qtwebkit/Tools/Scripts/VCSUtils.pm line 394.
> Calling 'C:\SDK\srcs\qt5\qtbase\bin\qmake
> C:\SDK\srcs\qt5\qtwebkit\WebKit.pro CONFIG+=production_build
> WEBKIT_CONFIG-=build_webkit2 INSTALL_LIBS=C:/SDK/Qt64/lib
> CONFIG-=production_build' in
> C:\SDK\srcs\qt5\qtwebkit\WebKitBuild\Release
>
> Installation libraries directory: C:/SDK/Qt64/lib
> Info: creating cache file
> C:/SDK/srcs/qt5/qtwebkit/WebKitBuild/Release/.qmake.cache
>
> Running configure tests...
>
> Checking for fontconfig... yes
> Checking for gccdepends... no
> Checking for glx... no
> Checking for libjpeg... no
> Checking for libpng... no
> Checking for libwebp... no
> Checking for libXcomposite... no
> Checking for libxml2... no
> Checking for libXrender... no
> Checking for libxslt... yes
> Checking for libzlib... no
>
> Final configuration:
>
> Build ......................... webkit1 drt wtr tests
> Configuration ................. debug/release (combined)
> All-in-one files .............. yes
> GNUmake ....................... no
> Static libs as shared ......... no
> Production build .............. no
>
> Have .......................... qtquick qtprintsupport qstyle qttestlib
> Use ........................... tiled_backing_store
> Features ...................... css_image_set css_sticky_position
> fast_mobile_scrolling gesture_events inspector_server
> legacy_viewport_adaption smooth_scrolling touch_adjustment
> plugin_architecture_unsupported touch_slider
>
> 3D Rendering .................. yes
> Accelerated 2D Canvas ......... no
> Animation API ................. no
> Battery Status ................ no
> Blob .......................... yes
> Channel Messaging ............. yes
> Content Security Policy 1.1 ... no
> CSS Exclusions ................ yes
> CSS Filters ................... yes
> CSS3 Text Decoration .......... no
> CSS Hierarchy ................. no
> CSS box-decoration-break ...... yes
> CSS image-orientation ......... no
> CSS image-resolution .......... no
> CSS Regions ................... yes
> CSS Shaders ................... no
> CSS Compositing ............... no
> CSS Variable .................. no
> Custom Scheme Handler ......... no
> Datalist ...................... yes
> Data Transfer Items ........... no
> Details ....................... yes
> Device Orientation ............ yes
> Dialog Element ................ no
> Directory Upload .............. no
> Download Attribute ............ no
> File System ................... no
> Filters ....................... yes
> FTP Directory ................. yes
> Fullscreen API ................ no
> Gamepad ....................... no
> Geolocation ................... yes
> High DPI Canvas ............... no
> Icondatabase .................. yes
> Iframe seamless attribute ..... yes
> Indexed Database .............. no
> Input Speech .................. no
> Input Type Color .............. yes
> Input Type Date ............... no
> Input Type Datetime ........... no
> Input Type Datetimelocal ...... no
> Input Type Month .............. no
> Input Type Time ............... no
> Input Type Week ............... no
> Inspector ..................... yes
> JavaScript Debugger ........... yes
> Legacy Notifications .......... yes
> Legacy WebKit Blob Builder .... yes
> Link Prefetch ................. no
> Link Prerender ................ no
> MathML ........................ no
> Media Capture ................. no
> Media Source .................. no
> Media Statistics .............. no
> Media Stream .................. no
> Meter Tag ..................... yes
> MHTML ......................... no
> Microdata ..................... no
> Mutation Observers ............ no
> Navigator Content Utils ....... no
> Netscape Plugin API ........... yes
> Network Info .................. no
> Notifications ................. yes
> Orientation Events ............ yes
> Page Visibility API ........... yes
> Progress Tag .................. yes
> Quota ......................... no
> Request Animation Frame ....... yes
> Scripted Speech ............... no
> Shadow DOM .................... no
> Shared Workers ................ yes
> SQL Database .................. yes
> Style Scoped .................. no
> SVG ........................... yes
> SVG DOM ObjC Bindings ......... no
> SVG Fonts ..................... yes
> Text Autosizing ............... no
> Tiled Backing Store ........... no
> Touch Events .................. yes
> Touch Icon Loading Support .... no
> Undo Manager .................. no
> Vibration ..................... no
> Video ......................... no
> Video Track ................... no
> WebGL ......................... no
> Web Audio ..................... no
> Web Intents ................... no
> Web Intents Tag ............... no
> Web Sockets ................... yes
> Web Timing .................... yes
> Workers ....................... yes
> XHR Response BLOB ............. no
> XSLT .......................... yes
>
> Encountered 2 configuration warning(s):
>
> ! JPEG library not found, QImageDecoder will decode JPEG images
> ! PNG library not found, QImageDecoder will decode PNG images
>
> WebKit is now configured for building. Just run 'make'.
>
>
> Calling 'make -j4' in C:\SDK\srcs\qt5\qtwebkit\WebKitBuild\Release
>
> "make" ͥ 廉⯠䣠ŭͥɠȫȠƨͥɍ
> ʮ̠ͤΩ, ɡϮ˭塞Ω РΣ̮ࠬɠȫȠϠʥ⮫̠䠩ˮ̮
> Makefile.qtwebkit.Debug:92: recipe for target `module-qtwebkit' failed
> mingw32-make[2]: *** [module-qtwebkit] Error 1
> mingw32-make[2]: Leaving directory `C:/SDK/srcs/qt5'
> Makefile.qtwebkit:33: recipe for target `debug' failed
> mingw32-make[1]: *** [debug] Error 2
> mingw32-make[1]: Leaving directory `C:/SDK/srcs/qt5'
> makefile:450: recipe for target `sub-qtwebkit-pri-make_first' failed
> mingw32-make: *** [sub-qtwebkit-pri-make_first] Error 2
>
> 2012/9/14 Thiago Macieira <thiago.macieira at intel.com>:
>> On sexta-feira, 14 de setembro de 2012 13.33.13, Алексей Павлов wrote:
>>> I wrote earlier
>>> For Thiago:
>>> qtbase/mkspecs/qmodule.pri listing:
>>>
>>> #paths
>>> QT_BUILD_TREE = C:/SDK/srcs/qt5/qtbase
>>> QT_SOURCE_TREE = C:/SDK/srcs/qt5/qtbase
>>> QT_BUILD_PARTS += libs tools
>>>
>>> #Qt for Windows CE c-runtime deployment
>>> QT_CE_C_RUNTIME = no
>>> CONFIG += create_prl link_prl sse2 sse3 ssse3 sse4_1 sse4_2 avx avx2
>>> largefile
>>
>> Looks like configure.exe doesn't save the -I and -L arguments in qmodule.pri
>> like the configure script does.
>>
>> That seems to be the problem.
>>
>> --
>> 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
>>
>> _______________________________________________
>> Development mailing list
>> Development at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/development
>>
More information about the Development
mailing list