Changes between Version 15 and Version 16 of BuildingQtOnWindows


Ignore:
Timestamp:
Jul 24, 2009 3:28:49 PM (15 years ago)
Author:
jpetso@gmx.at
Comment:

I followed the guidelines here, and it seems make isn't shipped by Qt so it needs to be gotten from GnuWin32 too. Also, more build troubleshooting.

Legend:

Unmodified
Added
Removed
Modified
  • BuildingQtOnWindows

    v15 v16  
    88The following external GNU tools are needed from the [http://gnuwin32.sourceforge.net/packages.html GnuWin32 Project]:
    99
     10 * Make
    1011 * Bison
    1112 * Gperf
     
    2324 * Open for example a Qt Command Prompt from the Start Menu
    2425 * Change into the WebKit source tree
    25  * Run {{{perl WebKitTools\Scripts\build-webkit}}}
     26 * Run {{{perl WebKitTools\Scripts\build-webkit --qt}}}
    2627 * Wait :)
    2728 * {{{build-webkit}}} is likely to abort with an error when compiling testkjs if you're compiling with MingW g++. This is '''safe''' to ignore for now.
     
    3334 * If you haven't set up your PATH already to include the GnuWin32 packages then you may want to execute the following command: {{{set PATH=C:\Program Files\GnuWin32\bin;C:\Perl\bin;%PATH%}}} Provided that the GnuWin32 packages are installed in {{{C:\GnuWin32\bin}}} and Perl in {{{C:\Perl\bin}}}.
    3435 * If you get build errors in JavaScriptCore\bindings\NP_jsobject.cpp or similar then please make sure that the Microsoft Platform SDK is '''NOT''' in your %INCLUDE% path because it conflicts with your MingW headers.
     36 * If you get build errors after makefile generation ("Makefile:178: *** Multiple target patterns.  Stop.") then you're probably still using the Cygwin version of make. Try removing Cygwin from your %PATH% for the time being (it's not currently supported, as mentioned above).
     37 * I had troubles with m4 when the GnuWin32 packages were installed in C:\Program Files\GnuWin32 (something choked on the whitespace), it worked when installing them into C:\GnuWin32 instead.
    3538
    3639* When I try to build using Qt 4.4.3 on windows, the above procedure throws error. all the build (perl) scripts are using unix style dir-paths. Example buildQMakeProject perl method in webkitdirs.pm uses unix style dir-path and also reading pro file. I am amazing that the people could build Qt port of Webkit on Windows.