[webkit-dev] Issues with WebCore when building QTWebKit on Windows

Nicholas Elliott webkit at propheticsky.com
Mon Jan 28 10:03:18 PST 2008


I've tried to follow the instructions for building QtWebKit on Windows 
on the wiki, but I'm consistently running into problems.  After 
stripping my PATH bare, upgrading to the latest ActivePerl, and editing 
some of the webkit build perl modules, I can coerce qmake into running 
and the build to start.  However, it doesn't get very far.

Initially, the perl script choked on making the Release build directory 
-- a simple fix of pre-creating the output directory solved that.   Then 
come a bunch of errors I can't figure out how to work around -- it seems 
like I don't have my directories or environment set up correctly?

(`perl WebKitTools\Script\build-webkit --qt`)
    Reading C:/src/WebKit/WebKit/WebCore/WebCore.pro 
    c:\Qt\4.3.3\bin\rcc.exe: File does not exist 
    c:\Qt\4.3.3\bin\rcc.exe: File does not exist 

    And shortly...

    cl (...includes and stuff...) pcre_tables.cpp
    ..\..\..\JavaScriptCore\pcre\pcre_tables.cpp(71) : fatal error 
C1083: Cannot open include file: 'chartables.c': No such file or directory
    NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual 
Studio 8\VC\BIN\cl.EXE"' : return code '0x2'

Does anyone know what's going on, or a more concise set of steps I 
should be following?  All the 'missing' files are located in the source 
tree somewhere, it just seems that the various components are looking in 
the wrong place.

As a checklist, I checked the source out of SVN a couple days ago, I 
have the latest bison, gperf, flex, libiconv from GnuWin32, and qt 
4.3.3.  I'm building using msvc 2005.  Cygwin and Msys are both 
installed, but neither are on my PATH for this setup. ActivePerl 5.10 is 

Some of my relevant environment is included below if it helps.  Anyone 
have any ideas?


Nick Elliott


PATH=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;C:\Program 
Files\Microsoft Visual Studio 8\VC\BIN;C:\Program Files\Microsoft Visual 
Studio 8\Common7
\Tools;C:\Program Files\Microsoft Visual Studio 
8\Common7\Tools\bin;C:\Program Files\Microsoft Visual Studio 
8\VC\PlatformSDK\bin;C:\Program Files\Microsoft Vis
ual Studio 
Files\Microsoft Visual Studio 

INCLUDE=C:\Program Files\Microsoft Visual Studio 
8\VC\ATLMFC\INCLUDE;C:\Program Files\Microsoft Visual Studio 
8\VC\INCLUDE;C:\Program Files\Microsoft Visual Stu
dio 8\VC\PlatformSDK\include;C:\Program Files\Microsoft Visual Studio 

More information about the webkit-dev mailing list